mirror of
https://github.com/bitwarden/browser
synced 2024-12-11 16:55:56 +01:00
should be != null check
This commit is contained in:
parent
bd381073b0
commit
729965aae2
@ -37,7 +37,7 @@ export class ImportCommand {
|
||||
}
|
||||
|
||||
const err = await this.importService.import(importer, contents, null);
|
||||
if (err == null) {
|
||||
if (err != null) {
|
||||
return Response.badRequest(err.message);
|
||||
}
|
||||
const res = new MessageResponse('Imported ' + filepath, null);
|
||||
|
Loading…
Reference in New Issue
Block a user