Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
webomagic-auth
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Pratik Shrivastava
webomagic-auth
Commits
5621cfc2
Commit
5621cfc2
authored
Jul 19, 2024
by
Pratik Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update user login response
parent
6c8a5fd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/routes/user/user_response.py
app/routes/user/user_response.py
+3
-3
No files found.
app/routes/user/user_response.py
View file @
5621cfc2
...
...
@@ -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 S
uccessfully'
,
message
=
'OTP
generated s
uccessfully'
,
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
),
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment