We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6c60a commit f48bcb6Copy full SHA for f48bcb6
lib/api/package.ts
@@ -68,7 +68,7 @@ export default class PackageCommands extends Commands {
68
method: 'GET'
69
});
70
71
- if (typeof res === 'text') {
+ if (typeof res === 'string') {
72
// The TAK Server API doesn't return application/json
73
return JSON.parse(res) as {
74
resultCount: number;
0 commit comments