From cae078793ca50a9ec37e7b451e47b3209a2330c0 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Thu, 14 Apr 2022 20:17:17 +0200 Subject: [PATCH] undo --- package.json | 4 ++-- src/schedules/jobs/shopRoles.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index da79775..8face99 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "jest", "start": "nodemon | pino-pretty -i pid,hostname -t yyyy-mm-dd HH:MM:s", "prettier-format": "prettier \"src/**/*.ts\" --write", - "lint": "eslint . --ext .ts", + "lint": "eslint ./src --ext .ts", "prepare": "husky install" }, "keywords": [ @@ -66,7 +66,7 @@ "eslint-plugin-import": "2.26.0", "eslint-plugin-no-loops": "^0.3.0", "eslint-plugin-prettier": "^4.0.0", - "husky": "^7.0.4", + "husky": "^7.0.0", "jest": "^27.5.1", "lint-staged": "^12.3.7", "prettier": "^2.6.0" diff --git a/src/schedules/jobs/shopRoles.ts b/src/schedules/jobs/shopRoles.ts index 444786c..5945903 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: any) => { + shopRoles?.map(async (shopRole) => { const payed = new Date(shopRole?.lastPayed); const oneHourAfterPayed = payed?.setHours(payed?.getHours() + 1);