Register
Some checks failed
Build and test backend / Build-backend (pull_request) Successful in 2m3s
Build and test backend / Test-backend (pull_request) Successful in 1m57s
Build and test FrontEnd / Build-frontend (pull_request) Failing after 23s

This commit is contained in:
2024-03-17 23:19:36 +01:00
parent 7e7cec2f6c
commit 8ff29ca34e
20 changed files with 114 additions and 122 deletions

View File

@ -8,7 +8,7 @@ import { restGet, restPost, restDelete, restPatch } from './restConsumer.js'
* Create a new course
*/
export async function createCourse(name, credits, teacher){
return restPost("/course", {name: name, credits: credits, owner: teacher} )
return restPost("/course", {title: name, credits: credits, owner: teacher} )
}
/**