mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
13 lines
275 B
TypeScript
13 lines
275 B
TypeScript
import type {Client} from 'sentry/api';
|
|
|
|
export async function deleteExternalIssue(
|
|
api: Client,
|
|
groupId: string,
|
|
externalIssueId: string
|
|
) {
|
|
return await api.requestPromise(
|
|
`/issues/${groupId}/external-issues/${externalIssueId}/`,
|
|
{method: 'DELETE'}
|
|
);
|
|
}
|