diff options
Diffstat (limited to 'app/services/personal_access_tokens/create_service.rb')
-rw-r--r-- | app/services/personal_access_tokens/create_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/personal_access_tokens/create_service.rb b/app/services/personal_access_tokens/create_service.rb index 7555ba26768..e2f2e220750 100644 --- a/app/services/personal_access_tokens/create_service.rb +++ b/app/services/personal_access_tokens/create_service.rb @@ -16,6 +16,7 @@ module PersonalAccessTokens if token.persisted? log_event(token) + notification_service.access_token_created(target_user, token.name) ServiceResponse.success(payload: { personal_access_token: token }) else ServiceResponse.error(message: token.errors.full_messages.to_sentence, payload: { personal_access_token: token }) |