Use integer type of notitication ids (avoid redundant casting for getting maxId in addNewNotifications)
This commit is contained in:
parent
0ab2f17991
commit
b62d2c76e5
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue