mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 22:51:30 -07:00
misc rooms endpoints, friends
This commit is contained in:
@@ -49,7 +49,7 @@ const PRESENCE_TTL = 900
|
||||
* the heartbeat keeps them there.
|
||||
*/
|
||||
async function placeNewPlayerInOrientation(env: App['Bindings'], accountId: number): Promise<void> {
|
||||
const row = await env.DB.prepare('SELECT data FROM rooms WHERE room_id = ?1')
|
||||
const row = await env.DB.prepare('SELECT data FROM room WHERE room_id = ?1')
|
||||
.bind(ORIENTATION_ROOM_ID)
|
||||
.first<{ data: string }>()
|
||||
if (!row) return
|
||||
|
||||
Reference in New Issue
Block a user