From df1d8d6f3c3e93b70a921d92fb6f5d353a7b8441 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Thu, 14 Apr 2022 20:16:16 +0200 Subject: [PATCH] revert --- src/schedules/jobs/shopRoles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schedules/jobs/shopRoles.ts b/src/schedules/jobs/shopRoles.ts index 5945903..444786c 100644 --- a/src/schedules/jobs/shopRoles.ts +++ b/src/schedules/jobs/shopRoles.ts @@ -10,7 +10,7 @@ import guildSchema from "@schemas/guild"; export default async (client: Client) => { await shopRoleSchema?.find()?.then(async (shopRoles: any) => { - shopRoles?.map(async (shopRole) => { + shopRoles?.map(async (shopRole: any) => { const payed = new Date(shopRole?.lastPayed); const oneHourAfterPayed = payed?.setHours(payed?.getHours() + 1);