mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed a bug with setting geolocation
no-issue We were passing a string rather than an object to find the member to set the geolocation on, this was causing us to always find the same member each time, and so newer members would never have their geolocation set.
This commit is contained in:
parent
d2bb50a436
commit
feaf73f7d2
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ module.exports = function MembersApi({
|
|||
});
|
||||
}
|
||||
|
||||
const member = await users.get(email, {
|
||||
const member = await users.get({email}, {
|
||||
withRelated: ['labels']
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue