use ===
This commit is contained in:
parent
cc03e4acbc
commit
753c4daba8
1 changed files with 6 additions and 6 deletions
|
|
@ -1171,7 +1171,7 @@ const saveSeedBackup = async (mnemonicPhrase, user, SEA) => {
|
|||
* @returns {Promise<void>}
|
||||
*/
|
||||
const saveChannelsBackup = async (backups, user, SEA) => {
|
||||
if (backups == '') {
|
||||
if (backups === '') {
|
||||
throw new TypeError('cant save an empty channel backup')
|
||||
}
|
||||
const mySecret = require('../Mediator').getMySecret()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue