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