refactor: drop Number() coercion on snowflake ids
This commit is contained in:
+1
-1
@@ -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,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user