refactor: drop Number() coercion on snowflake ids

This commit is contained in:
zetaloop
2026-05-03 05:58:47 +08:00
parent 88eb9727b5
commit 38ff65d51f
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ export async function inviteShopPlayer(shopId: string, playerId: string): Promis
await httpJson<unknown>(`/api/v1/shops/${encodeURIComponent(shopId)}/invitations`, {
method: "POST",
json: {
playerId: Number(playerId),
playerId,
},
})
}