(appId: string, issueId: string, noteId: string)
| 45 | * @param noteId Crashlytics note id |
| 46 | */ |
| 47 | export async function deleteNote(appId: string, issueId: string, noteId: string): Promise<string> { |
| 48 | const requestProjectNumber = parseProjectNumber(appId); |
| 49 | logger.debug( |
| 50 | `[crashlytics] deleteNote called with appId: ${appId}, issueId: ${issueId}, noteId: ${noteId}`, |
| 51 | ); |
| 52 | await CRASHLYTICS_API_CLIENT.request<void, void>({ |
| 53 | method: "DELETE", |
| 54 | path: `/projects/${requestProjectNumber}/apps/${appId}/issues/${issueId}/notes/${noteId}`, |
| 55 | timeout: TIMEOUT, |
| 56 | }); |
| 57 | return `Deleted note ${noteId}`; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Lists Crashlytics notes for an issue. |
no test coverage detected
searching dependent graphs…