Route GET /users/@me

This commit is contained in:
Jan0660
2021-09-14 22:20:03 +02:00
parent 1ffad53c10
commit e20e10c875
+11
View File
@@ -62,6 +62,17 @@ resource('/users/@me', {
`),
...await noContent("Succesfully changed user object.")
}
),
get: routeAuthenticated(
"Fetch Self",
"Retrieve your user information.",
{
...userParams,
...await success(
"User information.",
ref("User")
)
}
)
});