diff --git a/app/controllers/api/v4/application_controller.rb b/app/controllers/api/v4/application_controller.rb index 86c11a0..ce5efcf 100644 --- a/app/controllers/api/v4/application_controller.rb +++ b/app/controllers/api/v4/application_controller.rb @@ -27,8 +27,8 @@ module API end def set_sentry_context - Sentry.set_user(id: current_user&.id) if current_user - Sentry.set_tags(api_key_id: current_token&.hashid) if current_token + Sentry.set_user(id: current_user&.public_id) if current_user + Sentry.set_tags(api_key_id: current_token&.id) if current_token end def not_found