feat: click on manga page to change page
This commit is contained in:
@@ -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}`)),
|
||||
|
||||
Reference in New Issue
Block a user