Merge pull request #2294 from aignatov-bio/ai-sci-4124-fix-flash-message

Fix flash message for datetime column [SCI-4124]
This commit is contained in:
aignatov-bio 2020-01-13 10:24:35 +01:00 committed by GitHub
commit 6f78901d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ module RepositoryColumns
params: repository_column_params)
if service.succeed?
render json: service.column, status: :created
render json: service.column, status: :created, creating: true
else
render json: service.errors, status: :unprocessable_entity
end
@ -28,7 +28,7 @@ module RepositoryColumns
params: repository_column_params)
if service.succeed?
render json: service.column, status: :ok
render json: service.column, status: :ok, editing: true
else
render json: service.errors, status: :unprocessable_entity
end