Skip to content

Commit e024c30

Browse files
committed
response comment
1 parent b83fb83 commit e024c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/services/places.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class PlacesService {
3535
private fetchPlaces(url: string, errMsg: string) {
3636
return this.http
3737
.get<{ places: Place[] }>(url, {
38-
observe: 'response',
38+
observe: 'response', // it'll give full response including status code
3939
})
4040
.pipe(
4141
tap(rawResp => {

0 commit comments

Comments
 (0)