Skip to content

Commit

Permalink
callback
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed Nov 5, 2024
1 parent bcee136 commit c1ef6e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shared/api/utils/shared_ops_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3462,7 +3462,11 @@ export default class SharedOpsUtil extends SharedUtil

getOpEnvironmentDocs(opIdentifier, cb)
{
if (!opIdentifier) return ("OP_NOT_FOUND", null);
if (!opIdentifier)
{
cb("OP_NOT_FOUND", null);
return;
}
const envUrls = this.getOpEnvironmentUrls(opIdentifier);

const promises = [];
Expand Down

0 comments on commit c1ef6e1

Please sign in to comment.