mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[-] TODO
This commit is contained in:
parent
8ca465a0e4
commit
31239201e4
@ -12,15 +12,6 @@ cred = credentials.Certificate('secrets/servii.json')
|
||||
app = firebase_admin.initialize_app(cred)
|
||||
firestore_database = firestore.client()
|
||||
|
||||
'''
|
||||
TODO
|
||||
Write a function that launches upon app's startup, it does check in the firestore for any already running servers.
|
||||
Fetches the PID's.
|
||||
Stops all the current processes,
|
||||
Tell the database they have now stopped running.
|
||||
Also ensure the program can add an additional argument to avoid this checking for scalability.
|
||||
'''
|
||||
|
||||
|
||||
def get_user_from_id(user_id):
|
||||
return auth.get_user(user_id)
|
||||
|
Loading…
Reference in New Issue
Block a user