Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
C4Ai_DR-P
public-service-provider
Commits
31b28ac0
Commit
31b28ac0
authored
Jul 08, 2020
by
Mahdi Sellami
Browse files
corrected get service by LeikaId
parent
895cf924
Changes
1
Hide whitespace changes
Inline
Side-by-side
service/InfoService.js
View file @
31b28ac0
...
...
@@ -23,7 +23,7 @@ exports.getAllServices = function() {
**/
exports
.
getServiceByLeiKaId
=
function
(
leikaId
)
{
return
new
Promise
(
function
(
resolve
,
reject
)
{
const
serviceRecord
=
Service
.
find
({
leikaId
:
leikaId
});
const
serviceRecord
=
Service
.
find
One
({
leikaId
:
leikaId
});
resolve
(
serviceRecord
);
});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment