diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-06 19:23:45 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-07 05:20:17 +0300 |
commit | 18a1569319af918fe3aff7564e344143d04d6aca (patch) | |
tree | 3e52875f9b67abbdf4f3dd6be7b7d8e05963a788 /app/services/deploy_tokens | |
parent | 8c276580431a750a3141f2ec57690da844a75ac4 (diff) |
Handles default expires_at date directly into DeployToken model
Diffstat (limited to 'app/services/deploy_tokens')
-rw-r--r-- | app/services/deploy_tokens/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/deploy_tokens/create_service.rb b/app/services/deploy_tokens/create_service.rb index b5989e0bbf1..04977ca4c18 100644 --- a/app/services/deploy_tokens/create_service.rb +++ b/app/services/deploy_tokens/create_service.rb @@ -16,7 +16,7 @@ module DeployTokens end def default_expires_at - DeployToken::FUTURE_DATE + DeployToken::FOREVER end end end |