265478ad74
For directories application_settings --> labels. Partially addresses #47424.
11 lines
226 B
Ruby
11 lines
226 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Keys
|
|
class CreateService < ::Keys::BaseService
|
|
def execute
|
|
key = user.keys.create(params)
|
|
notification_service.new_key(key) if key.persisted?
|
|
key
|
|
end
|
|
end
|
|
end
|