Skip to content

Commit

Permalink
Merge pull request #6 from DemocraciaEnRed/1.5.0
Browse files Browse the repository at this point in the history
Ready for 1.5.0
  • Loading branch information
guillecro authored Sep 26, 2019
2 parents 4ea031f + 97a0e61 commit cda6bc2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

### 1.5.0

* Se hizo un FIX sobre un ID que provocaba que en algunos casos no se enviarán algunas notificaciones

Compatible con:
* `leyesabiertas-core:1.5.0`
* `leyesabiertas-web:1.5.0`

### 1.3.0

* Se hizo un FIX donde el link a la propuesta se parseaba como `Object` y habia que sacar el `id`
Expand Down
2 changes: 1 addition & 1 deletion api/controllers/comment-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports.post = async (req, res) => {
email: commentInfo[0].user[0].email
},
document: {
id: commentInfo[0].document[0]._id,
id: commentInfo[0].document.id,
title: commentInfo[0].version[0].content.title
},
comment: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "democracyos-api-notifier",
"version": "1.3.0",
"version": "1.5.0",
"description": "API Notifications",
"main": "server.js",
"scripts": {
Expand Down

0 comments on commit cda6bc2

Please sign in to comment.