Skip to content

Commit

Permalink
chore: fix and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x committed Dec 20, 2024
1 parent 10ea0c1 commit 3981dc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/GlobalModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ const $meta: Provider = {
switch (type) {
case 'metaUpdated': {
Object.entries(body.after).forEach(([key, value]) => {
(meta as any)[key] = value
})
(meta as any)[key] = value;
});
meta.proxyAccount = null; // joinなカラムは通常取ってこないので
break;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/test/url-preview.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('MkUrlPreview', () => {
url: 'https://example.local/player',
width: null,
height: null,
allow: undefined as unknown as string[],
allow: [],
},
});
const buttons = mkUrlPreview.getAllByRole('button');
Expand Down Expand Up @@ -123,7 +123,7 @@ describe('MkUrlPreview', () => {
url: 'https://example.local/player',
width: null,
height: null,
allow: [],
allow: undefined as unknown as string[],
},
});
assert.exists(iframe, 'iframe should exist');
Expand Down

0 comments on commit 3981dc4

Please sign in to comment.