Ghost/ghost/members-api
Kevin Ansfield ca473fc273 🐛 Fixed potential member data loss when assigning geolocation data
no issue

- `setMemberGeolocationFromIp()` was passing a raw model instance through to `users.update()` rather than a data object causing the `model.edit()` call to overwrite existing data such as labels because `modelInstance.labels` is a function rather than an array
- removed unnecessary `withRelated: ['labels']` as it's not necessary for the update, member data is fetched again with all necessary includes by `getMemberIdentityData()` before returning
2021-05-10 11:24:10 +01:00
..
lib Added support for un/archiving Prices 2021-05-07 17:01:00 +01:00
test Updated APIs to use price ids 2021-05-04 21:52:51 +05:30
.eslintrc.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js 🐛 Fixed potential member data loss when assigning geolocation data 2021-05-10 11:24:10 +01:00
package.json Update dependency node-jose to v2 2021-05-07 18:08:16 +01:00