0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed created_at dates for member events on import

refs https://github.com/TryGhost/Team/issues/542

The members-api has been updated to use the passed `created_at`
property when creating members for the status change events, as well as
using the subscription start_date for members paid subscription events
This commit is contained in:
Fabien O'Carroll 2021-07-15 17:44:22 +01:00
parent 9b963cef63
commit 7eb821b3f5
2 changed files with 16 additions and 7 deletions

View file

@ -71,7 +71,7 @@
"@tryghost/limit-service": "0.6.1",
"@tryghost/logging": "0.1.4",
"@tryghost/magic-link": "1.0.5",
"@tryghost/members-api": "1.19.0",
"@tryghost/members-api": "1.20.0",
"@tryghost/members-csv": "1.1.1",
"@tryghost/members-ssr": "1.0.5",
"@tryghost/mw-session-from-token": "0.1.22",

View file

@ -882,7 +882,7 @@
moment "^2.29.1"
prettyjson "^1.2.1"
"@tryghost/magic-link@1.0.5", "@tryghost/magic-link@^1.0.5":
"@tryghost/magic-link@1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.5.tgz#ffaeeb62b7c5c42ab47c6a41579a3b04b3c9157d"
integrity sha512-XeduAwBpsKu38c/NHUYO0BQWXMPH8XGkSvfKrl1VMJ4qWLsEhJtCrOB+IuZupXvNcynquwPElNvOw4IXGYr05w==
@ -891,15 +891,24 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.19.0":
version "1.19.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.19.0.tgz#e8ebafb6526080b5bc0fedc687c0334ba043d5c7"
integrity sha512-RAnLhyC071WXfA5NRNMTs9hiuY3d6djECGSYlsbbG/wLBXq8luziGQ6pLieCapkL3XbZFZG89nUOINiX55BbNQ==
"@tryghost/magic-link@^1.0.6":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.6.tgz#84b5ee863d984f7870a7c90ecc6ef88870fafbe4"
integrity sha512-ol0Qk4qR02SLic3GBC85z2vjpgDxGXfL41XFhTh3pRGNdrdE1pX6H73+QICkzB1M2DigCktnIMBN8p95nIv7xA==
dependencies:
bluebird "^3.5.5"
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.20.0":
version "1.20.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.20.0.tgz#0f6b5eabc180c99dbef3380545fcbe33d237df60"
integrity sha512-EOclox88yh5bCM28OGfuA39ZPzeIhMZO6O2HczcPogGCh3fNdpViwuKNui3fOKtzdhfa8xhsLrYDgWjcdCyFxQ==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/errors" "^0.2.9"
"@tryghost/ignition-errors" "^0.1.2"
"@tryghost/magic-link" "^1.0.5"
"@tryghost/magic-link" "^1.0.6"
"@tryghost/tpl" "^0.1.2"
"@types/jsonwebtoken" "^8.5.1"
bluebird "^3.5.4"