Skip to content

Commit

Permalink
fix type err
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Apr 9, 2020
1 parent 035272b commit 1f7d605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/siem/public/containers/case/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const patchComment = async (
return convertToCamelCase<CaseResponse, Case>(decodeCaseResponse(response));
};

export const deleteCases = async (caseIds: string[], signal: AbortSignal): Promise<boolean> => {
export const deleteCases = async (caseIds: string[], signal: AbortSignal): Promise<string> => {
const response = await KibanaServices.get().http.fetch<string>(CASES_URL, {
method: 'DELETE',
query: { ids: JSON.stringify(caseIds) },
Expand Down

0 comments on commit 1f7d605

Please sign in to comment.