v1.2.0: planes.owner_id + ownership checks + per-player onboarding (ISS-108, ISS-109)
CI / build + unit + e2e (pull_request) Successful in 13m46s

This commit is contained in:
2026-09-26 16:27:00 +00:00
parent ba2c36a3f8
commit ec26f9f366
25 changed files with 436 additions and 148 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ import { abandonPackage, performAction } from '@/lib/game/actions';
export async function POST(req: Request, ctx: { params: Promise<{ id: string }> }) {
const { id } = await ctx.params;
return performAction(req, (inst) => abandonPackage(inst, id));
return performAction(req, (inst, playerId) => abandonPackage(inst, id, playerId));
}
+1 -1
View File
@@ -31,5 +31,5 @@ export async function POST(req: Request, ctx: { params: Promise<{ id: string }>
}
const planeId = input.planeId;
return performAction(req, (inst) => loadPackage(inst, id, planeId));
return performAction(req, (inst, playerId) => loadPackage(inst, id, planeId, playerId));
}