typo
This commit is contained in:
parent
d30f92aa46
commit
24484a8ddb
1 changed files with 2 additions and 2 deletions
|
@ -57,10 +57,10 @@ FFTCGDB::close = ->
|
||||||
@db.close (err) ->
|
@db.close (err) ->
|
||||||
if err
|
if err
|
||||||
logger.error "Error closing: '#{err.message}'"
|
logger.error "Error closing: '#{err.message}'"
|
||||||
resolve 'ok'
|
reject 'db'
|
||||||
else
|
else
|
||||||
logger.warn "Closed '#{@filename}'"
|
logger.warn "Closed '#{@filename}'"
|
||||||
reject 'db'
|
resolve 'ok'
|
||||||
|
|
||||||
FFTCGDB::register = (login, password) ->
|
FFTCGDB::register = (login, password) ->
|
||||||
that = @
|
that = @
|
||||||
|
|
Reference in a new issue