[~] str -> bool for 'running' prop

Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>
This commit is contained in:
Charles Le Maux 2024-07-10 14:19:06 +01:00
parent 827706aaf7
commit 8dfe9bbde9

View File

@ -123,7 +123,7 @@ def create_server(user_id: str, server_name: str, version: str, port: str, frame
server_doc_ref.set( server_doc_ref.set(
{'name': server_name, {'name': server_name,
'port': port, 'port': port,
'running': "false", 'running': False,
'version': version, 'version': version,
'framework': framework, 'framework': framework,
"difficulty": "easy", "difficulty": "easy",