angular-realworld-example-app
angular-realworld-example-app copied to clipboard
Issue loading "my posts"
When loading "my posts" from a profile the Http params are empty, which means it loads without a query ( full feed list ).
I fixed it by changing the "apiService" get method to :
get(path: string, data = {} ): Observable<any> { const params: HttpParams = new HttpParams(); return this._http.get(
${environment.api_url}${path}, { params: data }) .pipe(catchError(this.formatErrors)); }
Yep I noticed that wrong behavior. Could you provide a PR which fixes it? :)
@juristr done