mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
83d4b5f834
refs https://github.com/TryGhost/Team/issues/873 The `get` method of the member repository will return null when no member is found - we must ensure that we don't attempt to call toJSON! It is also possible for a member to not have any products, in which case we should not attempt to iterate over them, and we can return early. |
||
---|---|---|
.. | ||
controllers | ||
repositories | ||
services | ||
common.js | ||
MembersAPI.js | ||
migrations.js |