Skip to content

Commit

Permalink
fix function get_API_parameters(path, options, callback)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasimi committed Dec 16, 2024
1 parent b11948f commit 6e12785
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions application/net/wiki/namespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -3882,6 +3882,19 @@ function module_code(library_namespace) {
&& data.paraminfo.modules[0];
// console.trace(modules);
if (!modules) {
if (!error && data.warnings && data.warnings.paraminfo
/**
* <code>
{"warnings":{"paraminfo":{"*":"The module \"query\" does not have a submodule \"ids\"."}},"paraminfo":{"helpformat":"none"}}
</code>
*/
&& data.warnings.paraminfo['*']) {
error = new Error(data.warnings.paraminfo['*']);
// console.trace(path, options, callback);
}

callback(undefined, error
//
|| new Error('Unknown query result'));
Expand Down

0 comments on commit 6e12785

Please sign in to comment.