feat: Update endpoint signup

This commit is contained in:
Backend IM Bot 2025-03-27 10:36:20 +00:00
parent 8f86a4dd1a
commit 8b277c973e

View File

@ -44,7 +44,7 @@ async def signup(
# Return token directly after registration # Return token directly after registration
return { return {
"message": "User created successfully", "message": "User joined successfully",
"access_token": create_access_token({"sub": new_user.id}), "access_token": create_access_token({"sub": new_user.id}),
"token_type": "bearer" "token_type": "bearer"
} }