Skip to content

Commit

Permalink
some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
psachmann committed Dec 17, 2024
1 parent 1b8d184 commit d9bfe2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/store/course-room-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export default class CourseRoomDetailsModule extends VuexModule {
columnBoards: string[];
}): Promise<void> {
this.resetBusinessError();
console.log("exportSettings", exportSettings);
try {
console.log("making the request");
const response =
await this.getCommonCartridgeApi().commonCartridgeControllerExportCourse(
this.roomData.roomId,
Expand All @@ -220,6 +222,8 @@ export default class CourseRoomDetailsModule extends VuexModule {
}
);

console.log("response", response);

const link = document.createElement("a");
link.href = URL.createObjectURL(
new Blob([response.data as unknown as Blob])
Expand Down

0 comments on commit d9bfe2d

Please sign in to comment.