This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2019-07-22 11:27:20 +00:00
|
|
|
import AbstractService from './abstractService'
|
|
|
|
import UserModel from '../models/user'
|
|
|
|
|
2022-11-13 21:04:57 +00:00
|
|
|
export default class ProjectUserService extends AbstractService {
|
2019-07-22 11:27:20 +00:00
|
|
|
constructor() {
|
|
|
|
super({
|
2022-11-13 21:04:57 +00:00
|
|
|
getAll: '/projects/{projectId}/projectusers',
|
2019-07-22 11:27:20 +00:00
|
|
|
})
|
|
|
|
}
|
2020-02-08 13:16:06 +00:00
|
|
|
|
2019-07-22 11:27:20 +00:00
|
|
|
modelFactory(data) {
|
|
|
|
return new UserModel(data)
|
|
|
|
}
|
|
|
|
}
|