|
|
@ -98,7 +98,7 @@ class SourceBackend: |
|
|
|
@self.app.post("/api/players") |
|
|
|
async def get_players(request: RCON_Request): |
|
|
|
#print(request.__dict__) |
|
|
|
a2s_players = await VALVE_SERVER_PLAYERS(request.tuple_address) |
|
|
|
a2s_players = VALVE_SERVER_PLAYERS(request.tuple_address) |
|
|
|
if(request.password == None): |
|
|
|
return Response(status_code = 403) |
|
|
|
|
|
|
|