We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3f637 commit 44929faCopy full SHA for 44929fa
packages/agent-api/src/functions/user-get.ts renamed to packages/agent-api/src/functions/me-get.ts
@@ -7,7 +7,7 @@ import {
7
import { UserDbService } from "../user-db-service.js";
8
import { getUserId } from "../security.js";
9
10
-app.http("user", {
+app.http("me-get", {
11
methods: ["GET"],
12
authLevel: "anonymous",
13
route: "me",
@@ -37,7 +37,7 @@ app.http("user", {
37
jsonBody: { id: user.id },
38
};
39
} catch (error) {
40
- context.error("Error in user-get handler", error);
+ context.error("Error in me-get handler", error);
41
return {
42
status: 500,
43
jsonBody: { error: "Internal Server Error" },
0 commit comments