/** * Returns a specific note in the database * * This method uses the note repository to get id, content, deadline and * completed for a specific note in the database. * * @since 1.0.0 * * @param int $request The ID of the note * @return Response A HTTP Response object formatted as JSON */ public function edit($request) { return $this->notes->editNote($request); }