aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers/highlights.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-04-16 19:52:01 +0000
committerMohamed Bassem <me@mbassem.com>2025-04-16 23:50:17 +0000
commit1d780485d731c077009fc76d5fa0e283f6f78d85 (patch)
treee3f95e0c23d5eedc459cd0358fe3b0d6d926b79d /packages/trpc/routers/highlights.ts
parent812354deaa96c37b5a06cfd7cb98df35f8202aa9 (diff)
downloadkarakeep-1d780485d731c077009fc76d5fa0e283f6f78d85.tar.zst
tests: Add tests for various trpc endpoints
Diffstat (limited to 'packages/trpc/routers/highlights.ts')
-rw-r--r--packages/trpc/routers/highlights.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/trpc/routers/highlights.ts b/packages/trpc/routers/highlights.ts
index 3436653e..6124e35f 100644
--- a/packages/trpc/routers/highlights.ts
+++ b/packages/trpc/routers/highlights.ts
@@ -34,7 +34,7 @@ const ensureHighlightOwnership = experimental_trpcMiddleware<{
if (!highlight) {
throw new TRPCError({
code: "NOT_FOUND",
- message: "Bookmark not found",
+ message: "Highlight not found",
});
}
if (highlight.userId != opts.ctx.user.id) {