Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 21bbf18

Browse files
committed
fix download calendar request
1 parent 619dfaf commit 21bbf18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/events/event.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class EventService {
6262
}
6363

6464
getCalendarUrl(): Observable<string> {
65-
return this.http.get<string>(`${environment.cannonUrl}/calendar`)
65+
return this.http.get<string>(`${environment.cannonUrl}/calendar`, { responseType: 'text' as 'json' })
6666
.pipe(
6767
catchError(this.handleError<string>('getCalendarUrl', ''))
6868
)

0 commit comments

Comments
 (0)