IZ, RS; now passing correct object to verify_signature
This commit is contained in:
parent
5a802299d5
commit
7676179e54
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class Retraction
|
|||
attr_accessor :type
|
||||
|
||||
def perform
|
||||
return unless verify_signature(@creator_signature, Post.first(:id => post_id).person.id)
|
||||
return unless verify_signature(@creator_signature, Post.first(:id => post_id).person)
|
||||
|
||||
begin
|
||||
self.type.constantize.destroy(self.post_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue