mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Removed unused data queries for member identity
refs https://github.com/TryGhost/Team/issues/909 The request for fetching logged-in member data was making several extra DB queries to fetch data points that are not used on frontend, like `labels`, `products`, `stripe customer`. This refactor removes these extra data points and cuts DB queries in half for fetching logged in member.
This commit is contained in:
parent
49a1367ff0
commit
4b315348aa
2 changed files with 5 additions and 5 deletions
|
@ -71,7 +71,7 @@
|
|||
"@tryghost/limit-service": "0.6.1",
|
||||
"@tryghost/logging": "0.1.4",
|
||||
"@tryghost/magic-link": "1.0.7",
|
||||
"@tryghost/members-api": "1.22.1",
|
||||
"@tryghost/members-api": "1.23.0",
|
||||
"@tryghost/members-csv": "1.1.2",
|
||||
"@tryghost/members-importer": "0.1.0",
|
||||
"@tryghost/members-ssr": "1.0.8",
|
||||
|
|
|
@ -823,10 +823,10 @@
|
|||
jsonwebtoken "^8.5.1"
|
||||
lodash "^4.17.15"
|
||||
|
||||
"@tryghost/members-api@1.22.1":
|
||||
version "1.22.1"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.22.1.tgz#c8000bca7a9cfb73c84cd2bc79ac5a6f5707863d"
|
||||
integrity sha512-1knevHQOryiYaeWNmZPyo5Qpo5vpGUgm8ZsbyWN7lYUAZDtrs5Nz3jooL3GbfrTOXb0ZAPpDHB77roWBZgGugg==
|
||||
"@tryghost/members-api@1.23.0":
|
||||
version "1.23.0"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.23.0.tgz#09d61832b2c5996c5966475d51bd998a200b8c4c"
|
||||
integrity sha512-SRf6mSGwToU6zGcx2eKFVDkDrbEbAg2IeceBHkU42j2QYtFHkgjDqnFCT6H8HMLcLpjKHaAq44Hiecle4lK7Wg==
|
||||
dependencies:
|
||||
"@tryghost/debug" "^0.1.2"
|
||||
"@tryghost/errors" "^0.2.9"
|
||||
|
|
Loading…
Reference in a new issue