mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
parent
b84881e842
commit
40f359a238
@ -35,6 +35,9 @@ const author = (attrs, frame) => {
|
|||||||
delete attrs.last_seen;
|
delete attrs.last_seen;
|
||||||
delete attrs.status;
|
delete attrs.status;
|
||||||
|
|
||||||
|
// @NOTE: used for night shift
|
||||||
|
delete attrs.accessibility;
|
||||||
|
|
||||||
// Extra properties removed from v2
|
// Extra properties removed from v2
|
||||||
delete attrs.tour;
|
delete attrs.tour;
|
||||||
|
|
||||||
@ -64,7 +67,6 @@ const author = (attrs, frame) => {
|
|||||||
|
|
||||||
// @NOTE: unused fields
|
// @NOTE: unused fields
|
||||||
delete attrs.visibility;
|
delete attrs.visibility;
|
||||||
delete attrs.accessibility;
|
|
||||||
delete attrs.locale;
|
delete attrs.locale;
|
||||||
delete attrs.ghost_auth_id;
|
delete attrs.ghost_auth_id;
|
||||||
|
|
||||||
|
@ -34,7 +34,6 @@ const expectedProperties = {
|
|||||||
.keys()
|
.keys()
|
||||||
.without('visibility')
|
.without('visibility')
|
||||||
.without('password')
|
.without('password')
|
||||||
.without('accessibility')
|
|
||||||
.without('locale')
|
.without('locale')
|
||||||
.without('ghost_auth_access_token')
|
.without('ghost_auth_access_token')
|
||||||
.without('ghost_auth_id')
|
.without('ghost_auth_id')
|
||||||
|
@ -31,7 +31,6 @@ const expectedProperties = {
|
|||||||
.keys()
|
.keys()
|
||||||
.without('visibility')
|
.without('visibility')
|
||||||
.without('password')
|
.without('password')
|
||||||
.without('accessibility')
|
|
||||||
.without('locale')
|
.without('locale')
|
||||||
.without('ghost_auth_access_token')
|
.without('ghost_auth_access_token')
|
||||||
.without('ghost_auth_id')
|
.without('ghost_auth_id')
|
||||||
|
Loading…
Reference in New Issue
Block a user