Skip to content

Commit

Permalink
fixed getProjectFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
norech committed Feb 2, 2022
1 parent b489ac8 commit b667eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raw/intra/intra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ export class RawIntra {
activity: ActivityCode;
}): Promise<RawProjectFile[]> {
const { data } = await this.request.get(
esc`/module/${scolaryear}/${module}/${instance}/${activity}/project/file`
esc`/module/${scolaryear}/${module}/${instance}/${activity}/project/file/`
);
return data;
}

async getProjectFilesByUrl(projectUrl: string): Promise<RawProjectFile[]> {
projectUrl = this.solveUrl(projectUrl, ["project"]);
const { data } = await this.request.get(projectUrl + "/file");
const { data } = await this.request.get(projectUrl + "/file/");
return data;
}

Expand Down

0 comments on commit b667eba

Please sign in to comment.