fix(fresh-rss): Fix response decoding #902

pull/887/merge
Bastien Wirtz 2025-05-17 14:50:09 +02:00
parent 58a1a0764d
commit 3f1d8e01ad
1 changed files with 3 additions and 7 deletions

View File

@ -53,13 +53,9 @@ export default {
`/api/greader.php/accounts/ClientLogin?Email=${this.item.username}&Passwd=${this.item.password}`,
{ method: "GET", cache: "no-cache" },
false,
)
.then((response) => {
return response.text();
})
.then((body) => {
return body.match(/Auth=(([([a-z0-9]+)\/([([a-z0-9]+))/i);
});
).then((body) => {
return body.match(/Auth=(([([a-z0-9]+)\/([([a-z0-9]+))/i);
});
if (match !== null) this.auth = match[1];
}