wip create working(?)
This commit is contained in:
@@ -6,7 +6,12 @@ export async function saveTimeAttack(
|
||||
w: Repositories,
|
||||
req: SaveTimeAttackRequest
|
||||
): Promise<SaveTimeAttackResponse> {
|
||||
await w.timeAttack().save(req.profileId, req.payload);
|
||||
// Override client time since we might be doing some maintenance window
|
||||
// avoidance time warping stuff
|
||||
|
||||
await w
|
||||
.timeAttack()
|
||||
.save(req.profileId, { ...req.payload, timestamp: new Date() });
|
||||
|
||||
return {
|
||||
type: "save_time_attack_res",
|
||||
|
||||
Reference in New Issue
Block a user