Skip to content

Commit

Permalink
chore: remove redundant casting
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavbhatt committed Nov 11, 2024
1 parent 5fe3bfd commit 7886f06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/actions/conv-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type {
export const convAction = createAsyncThunk<ConvActionResult, ConvActionParameters>(
'convAction',
async ({ ids, operation, parent, tagName, constrains }) => {
const { action } = (await soapFetch<ConvActionRequest, ConvActionResponse>('ConvAction', {
const { action } = await soapFetch<ConvActionRequest, ConvActionResponse>('ConvAction', {
_jsns: 'urn:zimbraMail',

action: omitBy(
Expand All @@ -31,7 +31,7 @@ export const convAction = createAsyncThunk<ConvActionResult, ConvActionParameter
},
isNil
)
})) as ConvActionResponse;
});
return {
ids: action.id.split(','),
operation: action.op
Expand Down

0 comments on commit 7886f06

Please sign in to comment.