Files
mixtape/zero.Backoffice.UI/app/api/users.js
T
2021-11-19 16:11:12 +01:00

15 lines
402 B
JavaScript

import { collection, post } from '../helpers/request.ts';
const base = 'users/';
export default {
...collection(base),
updatePassword: async model => await post(base + 'updatePassword', model),
hashPassword: async model => await post(base + 'hashPassword', model),
disable: async model => await post(base + 'disable', model),
enable: async model => await post(base + 'enable', model)
};