feat: getting details of manga
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from "@angular/core";
|
||||
import { BehaviorSubject } from "rxjs";
|
||||
import { BehaviorSubject, Observable, map } from "rxjs";
|
||||
import { LibSocialParserService } from "./parsers/rulib/lib.social.parser.service";
|
||||
import { Datum } from "./parsers/rulib/rulib.dto";
|
||||
|
||||
@@ -14,4 +14,12 @@ export class SearchService {
|
||||
this.itemsTerm.next(data.data);
|
||||
});
|
||||
}
|
||||
|
||||
getDetails(slug_url: string): Observable<object> {
|
||||
return this.parser.getDetails(slug_url).pipe(
|
||||
map((data) => {
|
||||
return data;
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user