aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/ServiceController.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-05-19 11:28:09 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-19 12:03:29 +0530
commit9a93be2752ec81ed1f634adbb63aef2d1c5272de (patch)
tree53cacbc4670ba017a7533ca9d378d98dea3bf629 /app/Controllers/Http/ServiceController.js
parentAdded husky pre-commit hook to run linter (diff)
downloadferdium-server-9a93be2752ec81ed1f634adbb63aef2d1c5272de.tar.gz
ferdium-server-9a93be2752ec81ed1f634adbb63aef2d1c5272de.tar.zst
ferdium-server-9a93be2752ec81ed1f634adbb63aef2d1c5272de.zip
Applied linter fixes.
Diffstat (limited to 'app/Controllers/Http/ServiceController.js')
-rw-r--r--app/Controllers/Http/ServiceController.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js
index a1d26cb..05d093b 100644
--- a/app/Controllers/Http/ServiceController.js
+++ b/app/Controllers/Http/ServiceController.js
@@ -140,6 +140,7 @@ class ServiceController {
140 let iconId; 140 let iconId;
141 do { 141 do {
142 iconId = uuid() + uuid(); 142 iconId = uuid() + uuid();
143 // eslint-disable-next-line no-await-in-loop
143 } while (await fs.exists(path.join(Helpers.tmpPath('uploads'), iconId))); 144 } while (await fs.exists(path.join(Helpers.tmpPath('uploads'), iconId)));
144 145
145 await icon.move(Helpers.tmpPath('uploads'), { 146 await icon.move(Helpers.tmpPath('uploads'), {