Skip to content

Commit 47bcdb6

Browse files
Update episode.service.ts
1 parent 428f765 commit 47bcdb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/service/episode.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class EpisodeService {
3333
}
3434

3535
addFreeTheme(value: Theme) {
36-
return this.apiClient.post<Theme>(`${this.themeBaseUrl}`, value)
36+
return this.apiClient.post<Theme>(`${environment.apiUrl}/free-theme`, value)
3737
}
3838

3939
updateTimestamp(episodeId: Number, theme: Theme): any {
@@ -60,4 +60,4 @@ export class EpisodeService {
6060
return this.apiClient.delete(`${this.baseUrl}/${id}/remove`)
6161
}
6262

63-
}
63+
}

0 commit comments

Comments
 (0)