Skip to content

Commit

Permalink
optional runEvery
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Jun 19, 2024
1 parent 42e8aa6 commit 6559422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/entity/variable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Variable extends BotEntity {
&& value.length > 2 && value.startsWith('$_');
}, 'IsCustomVariable'),
]),
runEvery: z.number().int(),
runEvery: z.number().int().optional(),
});

@BeforeInsert()
Expand Down

0 comments on commit 6559422

Please sign in to comment.