From 976a1c8d50ad26a34197b1258d62c01e9f11b720 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Wed, 13 May 2020 07:54:54 +0300 Subject: [PATCH] Remove debug line --- backend/src/data/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/data/db.ts b/backend/src/data/db.ts index 30383b14..c0bac652 100644 --- a/backend/src/data/db.ts +++ b/backend/src/data/db.ts @@ -10,7 +10,7 @@ export function connect() { connectionPromise = createConnection().then(newConnection => { // Verify the DB timezone is set to UTC return newConnection.query("SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP) AS tz").then(r => { - if (r[0].tz !== "00:00:00") { + if (r[0].tz !== "00:00:00" || true) { throw new SimpleError(`Database timezone must be UTC (detected ${r[0].tz})`); }