mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:46:02 +01:00
Remove unnecessary Object.const_get
This commit is contained in:
parent
7766c9bd5e
commit
0241a02e29
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class ShareWorker
|
|||
def revoke_and_notify(user_id, service)
|
||||
@user_service.destroy
|
||||
|
||||
Object.const_get("Notification::ServiceTokenExpired").create(
|
||||
Notification::ServiceTokenExpired.create(
|
||||
target_id: user_id,
|
||||
target_type: "User::Expired#{service.camelize}ServiceConnection",
|
||||
recipient_id: user_id,
|
||||
|
|
Loading…
Reference in a new issue