Use integer type of notitication ids (avoid redundant casting for getting maxId in addNewNotifications)

This commit is contained in:
eugenijm 2019-02-02 18:39:54 +03:00
parent 0ab2f17991
commit b62d2c76e5
2 changed files with 3 additions and 4 deletions

View file

@ -268,7 +268,7 @@ export const parseNotification = (data) => {
}
output.created_at = new Date(data.created_at)
output.id = String(data.id)
output.id = data.id
return output
}