This commit is contained in:
parent
f62d11dab2
commit
5e56034105
|
@ -68,12 +68,6 @@ module.exports = Self => {
|
|||
description: 'The worker user name',
|
||||
http: {source: 'query'}
|
||||
},
|
||||
{
|
||||
arg: 'SSN',
|
||||
type: 'String',
|
||||
description: 'The worker SSN',
|
||||
http: {source: 'query'}
|
||||
},
|
||||
{
|
||||
arg: 'email',
|
||||
type: 'String',
|
||||
|
@ -123,8 +117,6 @@ module.exports = Self => {
|
|||
return {'u.name': {like: `%${value}%`}};
|
||||
case 'email':
|
||||
return {'eu.email': {like: `%${value}%`}};
|
||||
case 'SSN':
|
||||
return {'w.SSN': value};
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -137,7 +129,6 @@ module.exports = Self => {
|
|||
`SELECT w.id,
|
||||
w.lastName,
|
||||
w.firstName,
|
||||
w.SSN,
|
||||
u.email,
|
||||
u.nickname,
|
||||
p.extension,
|
||||
|
|
Loading…
Reference in New Issue