Ghost/ghost/core/test/e2e-webhooks
Michael Barrett 636c916715
Fixed leaking pivot fields (#17142)
fixes https://github.com/TryGhost/Team/issues/2657

The `omitPivot` option does not have an affect on a models
`_previousAttributes`. When we serialise a model and want to retrieve
the previous attributes we need to ensure we manually remove the pivot
fields

See
7704fbc5e8/lib/base/model.js (L512)
2023-06-28 13:16:50 +01:00
..
__snapshots__ Fixed leaking pivot fields (#17142) 2023-06-28 13:16:50 +01:00
members.test.js Fixed leaking pivot fields (#17142) 2023-06-28 13:16:50 +01:00
pages.test.js Added e2e tests for page.unscheduled webhook (#15722) 2023-02-02 13:03:23 +00:00
posts.test.js Added e2e tests for post.rescheduled webhook (#15735) 2022-11-05 13:52:03 +00:00
site.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
tags.test.js Added e2e tests for tag.edited webhook (#15555) 2022-10-12 20:00:04 +01:00