je sais vraiment pas ce que j'ai ajouté mais amélioration jt'e jure
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m22s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 24s

This commit is contained in:
2024-04-21 17:42:29 +02:00
parent 70bec1a934
commit f14d41f04d
7 changed files with 9 additions and 7 deletions

View File

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