mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-18 16:14:27 -04:00
Logout should be a POST.
This commit is contained in:
+1
-1
@@ -233,7 +233,7 @@ resource('/session/login', {
|
||||
});
|
||||
|
||||
resource('/session/logout', {
|
||||
delete: routeAuthenticated(
|
||||
post: routeAuthenticated(
|
||||
"Logout",
|
||||
"Close current session.",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user