MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / removeReminder

Method removeReminder

src/api/TaskNotesAPI.ts:2145–2153  ·  view source on GitHub ↗
(
		path: string,
		reminderId: string,
		context?: TaskNotesMutationContext
	)

Source from the content-addressed store, hash-verified

2143 }
2144
2145 private async removeReminder(
2146 path: string,
2147 reminderId: string,
2148 context?: TaskNotesMutationContext
2149 ): Promise<TaskInfo> {
2150 const task = await this.requireTask(path);
2151 const reminders = (task.reminders ?? []).filter((reminder) => reminder.id !== reminderId);
2152 return this.updateTask(task.path, { reminders }, context);
2153 }
2154
2155 private async addDependency(
2156 path: string,

Callers 1

TaskNotesAPIClass · 0.95

Calls 2

requireTaskMethod · 0.95
updateTaskMethod · 0.95

Tested by

no test coverage detected