Skip to content

Commit

Permalink
Rename signin to sign_in to follow PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Douglas committed Dec 14, 2023
1 parent 99a35b1 commit 6944201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/openapi_server/controllers/auth_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def signUpCoordinator(): # noqa: E501
msg = f"The parameters you provided are incorrect: {error}"
raise AuthError({"message": msg}, 500)

def signin(body: dict):
def sign_in(body: dict):
secret_hash = current_app.calc_secret_hash(body['email'])

# initiate authentication
Expand Down
2 changes: 1 addition & 1 deletion api/openapi_server/openapi/paths/auth/authSignin.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
post:
description: Sign in a user
operationId: signin
operationId: sign_in
requestBody:
content:
application/json:
Expand Down

0 comments on commit 6944201

Please sign in to comment.