MCPcopy Create free account
hub / github.com/firebase/firebase-tools / deleteNote

Function deleteNote

src/crashlytics/notes.ts:47–58  ·  view source on GitHub ↗
(appId: string, issueId: string, noteId: string)

Source from the content-addressed store, hash-verified

45 * @param noteId Crashlytics note id
46 */
47export 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.

Callers 2

notes.spec.tsFile · 0.90
notes.tsFile · 0.90

Calls 1

parseProjectNumberFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…