Fix for deletion job: Don't try to delete key files for gateways.
This commit is contained in:
parent
82a69769c3
commit
2cb804f4b3
|
@ -769,7 +769,9 @@ angular.module('ffffng')
|
|||
|
||||
async.seq(
|
||||
function (callback) {
|
||||
if (node) {
|
||||
if (node && node.token) {
|
||||
// If the node has no token it is a special node (e.g. a gateway)
|
||||
// we need to skip.
|
||||
return NodeService.deleteNode(node.token, callback);
|
||||
}
|
||||
return callback(null);
|
||||
|
|
Loading…
Reference in a new issue