mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-11 15:22:43 +01:00
Revert "switched to navigation-react-native"
This reverts commit a8d0211ab7739b71fc5e32206ff3e85dbf7f051c.
This commit is contained in:
@@ -78,7 +78,7 @@ export class SubsonicApiClient {
|
||||
}
|
||||
|
||||
const url = `${this.address}/rest/${method}?${query}`;
|
||||
// console.log(url);
|
||||
console.log(url);
|
||||
return url;
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ export class SubsonicApiClient {
|
||||
const response = await fetch(this.buildUrl(method, params));
|
||||
const text = await response.text();
|
||||
|
||||
// console.log(text);
|
||||
console.log(text);
|
||||
|
||||
const xml = new DOMParser().parseFromString(text);
|
||||
if (xml.documentElement.getAttribute('status') !== 'ok') {
|
||||
|
||||
Reference in New Issue
Block a user