Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-04-25 23:08:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
88b1c1399f05e642fe0faf858619fc61ba7416f3
88b1c139
1 parent
a7147941
update searchUser resolver
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
back/src/api/User/searchUser/searchUser.js
back/src/api/User/searchUser/searchUser.js
View file @
88b1c13
...
...
@@ -9,18 +9,18 @@ export default {
where
:
{
OR
:
[
{
name
_contains
:
term
,
name
:
{
contains
:
term
}
,
},
{
email
_contains
:
term
,
email
:
{
contains
:
term
}
,
},
],
},
});
}
catch
(
error
)
{
console
.
log
(
error
);
return
null
;
}
return
null
;
},
},
};
...
...
Please
register
or
login
to post a comment