1
0
forked from PGL/Clyde

backend Schedule

This commit is contained in:
2024-04-07 14:33:51 +02:00
parent 9937a7db39
commit aa3e1cb868
19 changed files with 662 additions and 8 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} )
}