We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b05e24 commit 9d1db58Copy full SHA for 9d1db58
frontend/src/app/services/news.service.ts
@@ -2,6 +2,7 @@ import { Injectable } from '@angular/core';
2
import { HttpClient } from '@angular/common/http';
3
4
import { News } from '../models/new.model';
5
+import { Usero } from '../models/usero.model'
6
import { catchError, Observable, throwError } from 'rxjs';
7
8
const URL = '/api/news/';
@@ -53,7 +54,7 @@ export class NewsService {
53
54
return this.httpClient.delete(URL + news.id + '/image')
55
}
56
/*
- readNew() {
57
+ readNew(news: News, user: Usero) {
58
return this.httpClient.put()
59
60
*/
0 commit comments