Skip to content

Commit

Permalink
design wrap up
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Mar 27, 2020
1 parent d16b7b0 commit 6c782f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ describe('AllCases', () => {
.last()
.simulate('click');
expect(handleOnDeleteConfirm.mock.calls[0][0]).toStrictEqual(
useGetCasesMockState.data.cases.map(theCase => theCase.id)
useGetCasesMockState.data.cases.map(({ id }) => ({ id }))
);
});
it('Bulk close status update', () => {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/case/common/api/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as rt from 'io-ts';
export const UserRT = rt.type({
email: rt.union([rt.undefined, rt.null, rt.string]),
full_name: rt.union([rt.undefined, rt.null, rt.string]),
username: rt.union([rt.undefined, rt.null, rt.string]),
username: rt.string,
});

export const UsersRt = rt.array(UserRT);
Expand Down

0 comments on commit 6c782f5

Please sign in to comment.