vikunja-frontend/src/services/user.js

14 lines
259 B
JavaScript
Raw Normal View History

import AbstractService from './abstractService'
import UserModel from '../models/user'
export default class UserService extends AbstractService {
constructor() {
super({
getAll: '/users'
})
}
modelFactory(data) {
return new UserModel(data)
}
}