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.
2 parents 9a2c947 + 0c27922 commit 66458dbCopy full SHA for 66458db
src/app/courses/services/courses.service.ts
@@ -27,8 +27,8 @@ export class CoursesService {
27
}
28
29
30
- saveCourse(courseId:number, changes: Partial<Course>) {
31
- return this.http.put(`/api/courses/${courseId}`, changes);
+ saveCourse(courseId:number, changes: Partial<Course>): Observable<Course> {
+ return this.http.put<Course>(`/api/courses/${courseId}`, changes);
32
33
34
findLessons(
0 commit comments