Commit 5621cfc2 authored by Pratik Shrivastava's avatar Pratik Shrivastava

chore: update user login response

parent 6c8a5fd0
......@@ -35,7 +35,7 @@ LOGIN_RESPONSE_MODEL: any = api.model('login Data', {'apiKey': fields.String})
def login_response() -> any:
return prepare_swagger_response(
code=SUCCESS_CODE,
message='OTP generated successfully',
message=SUCCESS_MESSAGE,
model_name='login OTP Response',
data=fields.Nested(LOGIN_RESPONSE_MODEL),
)
......@@ -43,14 +43,14 @@ def login_response() -> any:
def otp_response() -> any:
return prepare_swagger_response(
code=SUCCESS_CODE,
message='OTP Verified Successfully',
message='OTP generated successfully',
model_name='Verify OTP Response',
data=fields.Nested(LOGIN_RESPONSE_MODEL),
)
def otp_verify_response() -> any:
return prepare_swagger_response(
code=SUCCESS_CODE,
message=SUCCESS_MESSAGE,
message='OTP Verified Successfully',
model_name='login OTP Verify Response',
data=fields.Nested(LOGIN_RESPONSE_MODEL),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment