Fix typo
This commit is contained in:
parent
4d88a40109
commit
4c6c81171b
@ -10,7 +10,7 @@ class RemoteStorageAuthorization < ApplicationRecord
|
|||||||
scope :expired, -> { where(expire_at: ..(DateTime.now)) }
|
scope :expired, -> { where(expire_at: ..(DateTime.now)) }
|
||||||
|
|
||||||
after_initialize do |a|
|
after_initialize do |a|
|
||||||
a.permisisons = [] if a.permissions == nil
|
a.permissions = [] if a.permissions == nil
|
||||||
end
|
end
|
||||||
|
|
||||||
before_create :generate_token
|
before_create :generate_token
|
||||||
|
Loading…
x
Reference in New Issue
Block a user