From 67535514b9f025d9a601d28917c60f470b4ed1ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Tue, 16 Jan 2024 23:02:25 +0900 Subject: [PATCH] =?UTF-8?q?spec(bubble-game):=20=E3=82=B7=E3=83=BC?= =?UTF-8?q?=E3=83=89=E5=80=A4=E3=81=AE=E8=A8=B1=E5=AE=B9=E7=AF=84=E5=9B=B2?= =?UTF-8?q?=E3=82=926=E6=99=82=E9=96=93=E3=81=AB=20(MisskeyIO#367)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backend/src/server/api/endpoints/bubble-game/register.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/bubble-game/register.ts b/packages/backend/src/server/api/endpoints/bubble-game/register.ts index f092d16a70..db462397ee 100644 --- a/packages/backend/src/server/api/endpoints/bubble-game/register.ts +++ b/packages/backend/src/server/api/endpoints/bubble-game/register.ts @@ -63,8 +63,8 @@ export default class extends Endpoint { // eslint- throw new ApiError(meta.errors.invalidSeed); } - // シードが古すぎる(1時間以上前)のも弾く - if (seedDate.getTime() < now.getTime() - 1000 * 60 * 60) { + // シードが古すぎる(6時間以上前)のも弾く + if (seedDate.getTime() < now.getTime() - 1000 * 60 * 60 * 6) { throw new ApiError(meta.errors.invalidSeed); }