add page_migrate response

This commit is contained in:
呱呱呱 2023-08-17 14:13:38 +08:00
parent a286d97fca
commit f7e1487c10
1 changed files with 4 additions and 1 deletions

View File

@ -127,7 +127,10 @@ class ProjectsController < ApplicationController
page = Page.new page_site_params
page.user = current_user
page.project = @project
page.save
end
if page.save
render json: page
end
rescue Exception => e
uid_logger_error(e.message)