Skip to content

Commit

Permalink
eecs: not working join proxy endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Piglit committed Aug 30, 2024
1 parent e98a2f8 commit 5a238e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eecs/interfaces/eehttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ async def getCampaign(server_name, crew_name):
"score": c.getRecentScore(),
}

@app.get("/proxy_join")
async def proxyJoin(server_name, scenario: EEScenario, server: EEServer, ship_pw: str = Body(...)):
c = models.crew.getOrCreateCrew(server.instance_name, server.crew_name)
activity(c, "joined " + str(scenario.getScenario()))
# TODO

### OLD ###

class EEProxyShipInfo(BaseModel):
Expand Down

0 comments on commit 5a238e6

Please sign in to comment.