mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-11 15:22:43 +01:00
switched to navigation-react-native
seems much simpler, but now i may need some other deps...
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