From 24484a8ddb0c3e75eeaff55275c6be8ad608aa08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 14 Feb 2019 19:23:49 +0100 Subject: [PATCH] typo --- backend/db.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/db.coffee b/backend/db.coffee index 03517e8..1c9ca8f 100644 --- a/backend/db.coffee +++ b/backend/db.coffee @@ -57,10 +57,10 @@ FFTCGDB::close = -> @db.close (err) -> if err logger.error "Error closing: '#{err.message}'" - resolve 'ok' + reject 'db' else logger.warn "Closed '#{@filename}'" - reject 'db' + resolve 'ok' FFTCGDB::register = (login, password) -> that = @