🐛 Fixed night mode when using API v2 (#10499)

no issue
This commit is contained in:
Katharina Irrgang 2019-02-15 13:15:37 +01:00 committed by Kevin Ansfield
parent b84881e842
commit 40f359a238
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -34,7 +34,6 @@ const expectedProperties = {
.keys()
.without('visibility')
.without('password')
.without('accessibility')
.without('locale')
.without('ghost_auth_access_token')
.without('ghost_auth_id')

View File

@ -31,7 +31,6 @@ const expectedProperties = {
.keys()
.without('visibility')
.without('password')
.without('accessibility')
.without('locale')
.without('ghost_auth_access_token')
.without('ghost_auth_id')