Skip to content

Commit

Permalink
Update main.ts - fix "more than once aN hour" (#2758)
Browse files Browse the repository at this point in the history
fixes #2757
"more than once a hour" -> "more than once an hour"
  • Loading branch information
mcm1957 authored Oct 10, 2024
1 parent 49692b4 commit 308db4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/admin/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@ class Admin extends Adapter {
*/
async updateRegister(): Promise<void> {
if (lastRepoUpdate && Date.now() - lastRepoUpdate < 3600000) {
this.log.error('Automatic repository update is not allowed more than once a hour');
this.log.error('Automatic repository update is not allowed more than once an hour');
this.restartRepoUpdate();
return;
}
Expand Down

0 comments on commit 308db4e

Please sign in to comment.