Skip to content
Snippets Groups Projects
Commit 246179ba authored by Sebastian Mihalache's avatar Sebastian Mihalache :hammer_pick:
Browse files

fix(publons): update publons reviewers parse

parent 1110cf7b
No related branches found
No related tags found
1 merge request!110Sprint 21 Features
......@@ -67,7 +67,7 @@ module.exports = models => async (req, res) => {
}
try {
const { data: publonsReviewers } = await axios({
const { data } = await axios({
method: 'post',
url: publonsUrl,
data: postBody,
......@@ -75,7 +75,7 @@ module.exports = models => async (req, res) => {
})
const reviewers = helpers.parseReviewers({
publonsReviewers,
publonsReviewers: data.recommendedReviewers,
existingReviewers,
})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment