mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-18 16:14:27 -04:00
Logout should not include path params.
This commit is contained in:
+1
-6
@@ -236,12 +236,7 @@ resource('/session/logout', {
|
||||
post: routeAuthenticated(
|
||||
"Logout",
|
||||
"Close current session.",
|
||||
{
|
||||
parameters: [
|
||||
await parameter("session", "Session ID", ref("Id"))
|
||||
],
|
||||
...await noContent("Logged out.")
|
||||
},
|
||||
await noContent("Logged out."),
|
||||
true
|
||||
)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user