diff --git a/app/controllers/repository_columns/date_time_columns_controller.rb b/app/controllers/repository_columns/date_time_columns_controller.rb index 5d3a70a29..7c60d4471 100644 --- a/app/controllers/repository_columns/date_time_columns_controller.rb +++ b/app/controllers/repository_columns/date_time_columns_controller.rb @@ -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