mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Fix user role for tenant signup
This commit is contained in:
@@ -24,7 +24,7 @@ class TenantsController < ApplicationController
|
||||
full_name: params[:user][:full_name],
|
||||
email: params[:user][:email],
|
||||
password: params[:user][:password],
|
||||
role: "admin"
|
||||
role: "owner"
|
||||
)
|
||||
|
||||
render json: @tenant, status: :created
|
||||
|
||||
Reference in New Issue
Block a user