From 3f332573bf77c789b4e2ded6ba91cfded50db844 Mon Sep 17 00:00:00 2001 From: Charles Le Maux Date: Thu, 15 Aug 2024 11:52:18 +0200 Subject: [PATCH] [+] FetchLogs prepass --- generic_executor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generic_executor.py b/generic_executor.py index 8952ad5..12ac2f4 100644 --- a/generic_executor.py +++ b/generic_executor.py @@ -67,6 +67,10 @@ def fetch_servers(user: UserRecord) -> tuple[HTTPStatus, Union[str, list]]: 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]]: if firebase_manager.user_field_exists(user.uid): return HTTPStatus.FORBIDDEN, "User already exists."