Merge pull request #3 from Jan0660/master

Route GET /users/@me
This commit is contained in:
Paul Makles
2021-09-14 21:22:29 +01:00
committed by GitHub
+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")
)
}
)
});