From df2365fa8fd3a6983262b905ce22a542964a187d Mon Sep 17 00:00:00 2001 From: Devin Zuczek Date: Tue, 14 Jul 2026 13:15:11 -0400 Subject: [PATCH] Add a fun comment about deviceId --- apps/api/src/routes/moderation.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/api/src/routes/moderation.ts b/apps/api/src/routes/moderation.ts index 1ccae5c..0fec8fa 100644 --- a/apps/api/src/routes/moderation.ts +++ b/apps/api/src/routes/moderation.ts @@ -29,4 +29,9 @@ export const moderationRoutes = new Hono({ strict: false }) // bearer token and fires before account creation, so there is no caller to attribute // the id to and nothing to store it against — we accept it and drop it. The real // service answers with a `{ success, error }` envelope. - .post('/api/PlayerReporting/v1/deviceId', (c) => c.json({ success: true, error: '' })) + // @todo This doesn't do anything, in fact it breaks the client during account creation. + // I have not been able to find a response shape that doesn't break, so in + // https://github.com/djdevin/recnet-plugin we disable the device ID check to enable + // account creation. Nothing in the logs, client just hangs, who knows what it is + // waiting for. + .post('/api/PlayerReporting/v1/deviceId', (c) => c.json([]));