login
This commit is contained in:
1 parent
ca6f676fb7
commit
e84e34d735
2 files changed
+11
-5
No files matched your search
@@ -2,7 +2,7 @@
|
||||
* curriculum API
|
||||
*/
|
||||
|
||||
import { restGet, restPostn, restDelete, restPatch } from './restConsumer.js'
|
||||
import { restGet, restPost, restDelete, restPatch } from './restConsumer.js'
|
||||
|
||||
/**
|
||||
* Create a new curriculum (bundle of courses)
|
||||
@@ -19,6 +19,10 @@ export async function deletecurriculum(id){
|
||||
return restDelete("/curriculum/" + id);
|
||||
}
|
||||
|
||||
export async function getAllCurriculums(){
|
||||
return restGet("/curriculum");
|
||||
}
|
||||
|
||||
/**
|
||||
* Get informations on a particular curriculum
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user