1
0

Use the new listuser endpoint to search for users

This commit is contained in:
kolaente
2019-07-22 13:27:20 +02:00
parent 13d06769cf
commit 52bce0b9f1
2 changed files with 19 additions and 5 deletions

14
src/services/listUsers.js Normal file
View File

@ -0,0 +1,14 @@
import AbstractService from './abstractService'
import UserModel from '../models/user'
export default class ListUserService extends AbstractService {
constructor() {
super({
getAll: '/lists/{listID}/listusers'
})
}
modelFactory(data) {
return new UserModel(data)
}
}