summaryrefslogtreecommitdiff
path: root/frontend/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/main.js')
-rw-r--r--frontend/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js
index bfbb1ec..41da70f 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -47,7 +47,7 @@ async function subscribe() {
console.log(db_reply)
- return db_reply.status == 200;
+ return db_reply.ok;
} catch (e) {
console.log("ERR in regis, ", e);
return false;