Skip to content

Commit

Permalink
amendment :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
suculent committed Nov 16, 2023
1 parent fb923f0 commit ced546a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/thinx/transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ module.exports = class Transfer {
let encoded_json_keys = await this.redis.get(dtid);

if ((typeof (encoded_json_keys) === "undefined") || (encoded_json_keys === null)) {
const allkeys = await this.redis.keys("dt:*");
const allkeys = await this.redis.list();
console.log(`🔨 [debug] [transfer] Not found DTID: ${dtid} in ${{allkeys}}`, {allkeys});
return Promise.reject(new Error("accept_transfer_id_not_found_1"));
return Promise.resolve(true); // everything seems to be resolved, no uncompleted tasks, seems fair to return OK and leave it.
}

console.log(`🔨 [debug] [transfer] await Fetched DTID: ${dtid}`);
Expand Down

0 comments on commit ced546a

Please sign in to comment.