mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[+] FetchLogs prepass
This commit is contained in:
parent
31239201e4
commit
3f332573bf
@ -67,6 +67,10 @@ def fetch_servers(user: UserRecord) -> tuple[HTTPStatus, Union[str, list]]:
|
|||||||
return account_create(user)
|
return account_create(user)
|
||||||
|
|
||||||
|
|
||||||
|
def fetch_logs(user: UserRecord, name: str) -> tuple[HTTPStatus, Union[str, None]]:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def account_create(user: UserRecord) -> tuple[HTTPStatus, Union[str, None]]:
|
def account_create(user: UserRecord) -> tuple[HTTPStatus, Union[str, None]]:
|
||||||
if firebase_manager.user_field_exists(user.uid):
|
if firebase_manager.user_field_exists(user.uid):
|
||||||
return HTTPStatus.FORBIDDEN, "User already exists."
|
return HTTPStatus.FORBIDDEN, "User already exists."
|
||||||
|
Loading…
Reference in New Issue
Block a user