feat: click on manga page to change page

This commit is contained in:
2024-07-20 22:36:31 +03:00
parent d710d6bac5
commit 8c9efd4371
6 changed files with 52 additions and 10 deletions

View File

@@ -101,7 +101,6 @@ export class LibSocialParserService extends Parser {
}
getPopular(): Observable<IRuLIBPopular[]> {
//TODO: мб сделать ассинхрон
return this.http
.get<{ data: { popular: [] } }>(`${this.url}/api/`, {
headers: {
@@ -112,7 +111,6 @@ export class LibSocialParserService extends Parser {
.pipe(
map((data) => {
const res = data.data.popular as IRuLIBPopular[];
console.log(res);
return res;
}),
catchError((error) => throwError(() => `Now found ${error}`)),