aboutsummaryrefslogtreecommitdiff
path: root/src/tasks/updateStats.ts
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-12-14 00:20:55 +0000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-12-14 00:20:55 +0000
commit2d6bb50ce8c979e543f0d2831b3db9d8644be477 (patch)
treeaafb389ad709b4d2da46ea2871fbddf4d714dcf6 /src/tasks/updateStats.ts
parent8a27a3428dc3946a538f6471e480a34e41ceb7e6 (diff)
downloadtanzanite-2d6bb50ce8c979e543f0d2831b3db9d8644be477.tar.gz
tanzanite-2d6bb50ce8c979e543f0d2831b3db9d8644be477.tar.bz2
tanzanite-2d6bb50ce8c979e543f0d2831b3db9d8644be477.zip
Automatically format code
Diffstat (limited to 'src/tasks/updateStats.ts')
-rw-r--r--src/tasks/updateStats.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks/updateStats.ts b/src/tasks/updateStats.ts
index 8813343..54c8748 100644
--- a/src/tasks/updateStats.ts
+++ b/src/tasks/updateStats.ts
@@ -8,7 +8,7 @@ export default class UpdateStatsTask extends BushTask {
runOnStart: true
});
}
-
+
public override async exec() {
const row =
(await Stat.findByPk(client.config.environment)) ?? (await Stat.create({ environment: client.config.environment }));