Slug-based scenarios, quests and offers per the environments contract; regenerated models; e2e seed passes environment to admin mirrors
Claude-Session: https://claude.ai/code/session_01SMCvdwDmuxoaqGgvGBLk1V
This commit is contained in:
@@ -82,7 +82,7 @@ export async function grantCurrency(
|
||||
amount: number,
|
||||
): Promise<void> {
|
||||
await adminApi(artifact).post(
|
||||
`/platform/v1/projects/${artifact.projectId}/players/wallet/adjust`,
|
||||
`/platform/v1/projects/${artifact.projectId}/players/wallet/adjust?environment=${artifact.environment}`,
|
||||
{ items: [{ playerId, currencyCode, amount, reason: 'e2e grant' }] },
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user