diff --git a/src/app/quote/quote.service.ts b/src/app/quote/quote.service.ts index adb2c98..c2b8d78 100644 --- a/src/app/quote/quote.service.ts +++ b/src/app/quote/quote.service.ts @@ -5,8 +5,8 @@ import {HttpClient} from "@angular/common/http"; @Injectable() export class QuoteService { - private GET_ALL_QUOTES_URL = 'https://quotehouse-backend.herokuapp.com/quotes'; - private POST_QUOTE_URL = 'https://quotehouse-backend.herokuapp.com/quotes/quote'; + // private GET_ALL_QUOTES_URL = 'https://quotehouse-backend.herokuapp.com/quotes'; + // private POST_QUOTE_URL = 'https://quotehouse-backend.herokuapp.com/quotes/quote'; private quotes: Quote[] = []; @@ -14,10 +14,12 @@ export class QuoteService { } getQuotes(): Observable { - return this.http.get(this.GET_ALL_QUOTES_URL); + // return this.http.get(this.GET_ALL_QUOTES_URL); + return null; } addQuote(quote: Quote): Observable { - return this.http.post(this.POST_QUOTE_URL, quote); + // return this.http.post(this.POST_QUOTE_URL, quote); + return null; } }