mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
parent
b84881e842
commit
40f359a238
3 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue