(id: string)
| 125 | } |
| 126 | |
| 127 | export async function deleteNote(id: string): Promise<void> { |
| 128 | const database = await getDB(); |
| 129 | await insertTombstone(database, id, "notes"); |
| 130 | await database.execute("DELETE FROM notes WHERE id = ?", [id]); |
| 131 | } |
no test coverage detected