update
This commit is contained in:
1 parent
dce79ef27d
commit
175e4c0d68
7 files changed
+114
-84
No files matched your search
@@ -73,6 +73,11 @@ export class Tutorial {
|
||||
return res.data
|
||||
}
|
||||
|
||||
static async togglePublic(display: number) {
|
||||
const res = await http.put(`/tutorial/public/${display}`)
|
||||
return res.data
|
||||
}
|
||||
|
||||
static async remove(display: number) {
|
||||
await http.delete(`/tutorial/${display}`)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user