mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
API code
This commit is contained in:
16
frontend/src/api/system/user.js
vendored
Normal file
16
frontend/src/api/system/user.js
vendored
Normal 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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user