Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
compmonk committed May 19, 2020
2 parents 30e0a5a + 1e684ca commit 38ce70b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/services/articleService.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ async function purchase(articleId, purchaserId) {
// return await articles.update(article._id, { read: article.read + 1 }, true);
return result;
} catch (e) {
errors["error"] = e;
error.http_code = 400;
throw error;
throw e;
}
}
Expand Down

0 comments on commit 38ce70b

Please sign in to comment.