Add profile setup to onboarding in web UI (#27829)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2023-11-15 11:13:53 +00:00
1 parent d8074128f9
commit d67bd44ca1
18 files changed
+524 -416

No files matched your search

@@ -16,6 +16,8 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController
current_user.update(user_params) if user_params
ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
render json: @account, serializer: REST::CredentialAccountSerializer
rescue ActiveRecord::RecordInvalid => e
render json: ValidationErrorFormatter.new(e).as_json, status: 422
end
private