Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Bugfix: use info_url instead of infoUrl in payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiebe-Vercoutter committed May 19, 2022
1 parent eee0ef7 commit 8c29216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/data/interfaces/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export interface CreateProject {
name: string;

/** An url with more info */
infoUrl: string;
info_url: string;

/** The partners that belong to this project */
partners: string[];
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/api/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export async function createProject(
): Promise<Project | null> {
const payload: CreateProject = {
name: name,
infoUrl: infoUrl,
info_url: infoUrl,
partners: partners,
coaches: coaches,
};
Expand Down

0 comments on commit 8c29216

Please sign in to comment.