Skip to content

Commit 9cb5fa6

Browse files
author
Vikas Agarwal
committed
fixing ling error
1 parent 2132a9f commit 9cb5fa6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/routes/admin/project-index-create.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = [
9898
}
9999

100100
res.status(200).json(util.wrapResponse(req.id, {
101-
message: `Reindex request successfully submitted for ${body.length / 2} projects`
101+
message: `Reindex request successfully submitted for ${body.length / 2} projects`,
102102
}));
103103
// bulk index
104104
eClient.bulk({
@@ -111,7 +111,9 @@ module.exports = [
111111
logger.error(`Error in indexing project (projectId: ${projectIdStart}-${projectIdEnd})`, error);
112112
});
113113
}).catch((error) => {
114-
logger.error(`Error in getting project details for indexing (projectId: ${projectIdStart}-${projectIdEnd})`, error);
114+
logger.error(
115+
`Error in getting project details for indexing (projectId: ${projectIdStart}-${projectIdEnd})`,
116+
error);
115117
});
116118
})
117119
.catch(err => next(err));

0 commit comments

Comments
 (0)