⚰️ remove index
This commit is contained in:
parent
c4a9882a9e
commit
ed237c8253
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export const start = async (client: Client) => {
|
||||||
if (!jobNames) return logger.info("No jobs found");
|
if (!jobNames) return logger.info("No jobs found");
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
jobNames.map(async (jobName, index) => {
|
jobNames.map(async (jobName) => {
|
||||||
const job: IJob = await import(`../../jobs/shopRoles`);
|
const job: IJob = await import(`../../jobs/shopRoles`);
|
||||||
|
|
||||||
schedule.scheduleJob(job.options.schedule, async () => {
|
schedule.scheduleJob(job.options.schedule, async () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue