diff --git a/app/views/api/authenticate/create_cashier.json.jbuilder b/app/views/api/authenticate/create_cashier.json.jbuilder index be85fb81..5c47fb5b 100644 --- a/app/views/api/authenticate/create_cashier.json.jbuilder +++ b/app/views/api/authenticate/create_cashier.json.jbuilder @@ -1,7 +1,7 @@ if @status == true json.status :true json.session_token @employee.token_session - json.name @employee.token_session + json.name @employee.name json.role @employee.role if @error_message json.error_message @error_message