From 8c2921621341a4c02f8a488b9c401e8b1c1d89ae Mon Sep 17 00:00:00 2001 From: Tiebe Vercoutter Date: Thu, 19 May 2022 18:11:54 +0200 Subject: [PATCH] Bugfix: use info_url instead of infoUrl in payload --- frontend/src/data/interfaces/projects.ts | 2 +- frontend/src/utils/api/projects.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/data/interfaces/projects.ts b/frontend/src/data/interfaces/projects.ts index d2272cfbf..dbb09c6cf 100644 --- a/frontend/src/data/interfaces/projects.ts +++ b/frontend/src/data/interfaces/projects.ts @@ -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[]; diff --git a/frontend/src/utils/api/projects.ts b/frontend/src/utils/api/projects.ts index d5095c780..80d7f3418 100644 --- a/frontend/src/utils/api/projects.ts +++ b/frontend/src/utils/api/projects.ts @@ -75,7 +75,7 @@ export async function createProject( ): Promise { const payload: CreateProject = { name: name, - infoUrl: infoUrl, + info_url: infoUrl, partners: partners, coaches: coaches, };