]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tools/peertube-repl.ts
Fix comment notifications
[github/Chocobozzz/PeerTube.git] / server / tools / peertube-repl.ts
index 04d8b95a3076b4736bb1b76a23727f650ecc4561..fbdec16132ad0580ae500a9b15be6cdf47eae3b3 100644 (file)
@@ -43,7 +43,7 @@ const start = async () => {
         Object.defineProperty(context, prop, {
           configurable: false,
           enumerable: true,
-          value: properties[prop]
+          value: properties[ prop ]
         })
       }
     }
@@ -69,8 +69,7 @@ const start = async () => {
 
 }
 
-start().then((data) => {
-  // do nothing
-}).catch((err) => {
-  console.error(err)
-})
+start()
+  .catch((err) => {
+    console.error(err)
+  })