This commit is contained in:
James Cole
2022-02-27 10:13:07 +01:00
parent 95a7a0c90d
commit 9ebdb00579
71 changed files with 2054 additions and 0 deletions

16
frontend/src/api/system/user.js vendored Normal file
View File

@@ -0,0 +1,16 @@
import {api} from "boot/axios";
export default class AboutUser {
get() {
return api.get('/api/v1/about/user');
}
put(identifier, submission) {
console.log('here we are');
return api.put('/api/v1/users/' + identifier, submission);
}
logout() {
return api.post('/logout');
}
}