Skip to content
Permalink
Browse files

updated blog url and added mock myjson urls

  • Loading branch information...
ademidun committed Sep 28, 2018
1 parent fe3f6aa commit 8f93ada504dd5b0dc210a64a73caee5ffd14927d
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/app/_services/blog-post.service.ts
  2. +1 −1 src/app/_services/scholarship.service.ts
  3. +1 −1 src/ngsw-config.json
@@ -23,7 +23,7 @@ export class BlogPostService {
}

getBySlug(username:string, slug: string) {
return this.http.get(`${this.blogUrl}blog/${username}/${slug}/`)
return this.http.get(`https://api.myjson.com/bins/v5ow0`)
.map(res => res)
.catch(err => Observable.throw(err));
}
@@ -44,7 +44,7 @@ export class ScholarshipService {
}

getPaginatedscholarships(form_data, page): Observable<Scholarship[]> {
return this.http.post(`${this.scholarshipsPreviewUrl}?page=${page}/`, form_data)
return this.http.get(`https://api.myjson.com/bins/dx1dc`)
.map(this.extractData)
.catch(this.handleError);
}
@@ -14,7 +14,7 @@
"https://firebasestorage.googleapis.com/v0/b/atila-7.appspot.com/o/user-profiles%2F1%2Fprofile-pictures%2Ffacebook-profile-picture.jpg?alt=media&token=8754c657-bbdc-4d8e-ae1d-d4047ac09c6d",
"https://lh6.googleusercontent.com/U1oHmeuzUcMbPLHFhpDHc_8KsFWq7IX_jE6kUBl1svTSnffIukAjJ0QDgfXJCdZ_rONXiZzhtNnz3CrFMDEnrIrMc5MpnWcSuUfEURbNRFM9lxYPN6qDMSMHPqC02h9o0pO9UlUP",
"https://atila-7.herokuapp.com/api/blog/blog-slug/tomiwa/how-i-got-interviews-at-google-facebook-and-bridgewater/",
"https://api.myjson.com/bins/18mldc"
"https://api.myjson.com/bins/v5ow0"
]
}
}, {

0 comments on commit 8f93ada

Please sign in to comment.
You can’t perform that action at this time.