diff options
Diffstat (limited to 'app/services/concerns/deploy_token_methods.rb')
-rw-r--r-- | app/services/concerns/deploy_token_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/concerns/deploy_token_methods.rb b/app/services/concerns/deploy_token_methods.rb index c792f10fb73..578be53f82c 100644 --- a/app/services/concerns/deploy_token_methods.rb +++ b/app/services/concerns/deploy_token_methods.rb @@ -11,7 +11,7 @@ module DeployTokenMethods end def destroy_deploy_token(entity, params) - deploy_token = entity.deploy_tokens.find_by_id!(params[:token_id]) + deploy_token = entity.deploy_tokens.find(params[:token_id]) deploy_token.destroy end |