Files
mixtape/zero.Web.UI/app/api/users.js
T
2021-09-23 10:58:14 +02: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)
};