From 0f3ddb1a99fd0b52b5f0f871359e7feaae6a0def Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 28 Jul 2023 10:16:28 +0200 Subject: [PATCH] hotFix(logout): correct order --- js/vn/json-connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/vn/json-connection.js b/js/vn/json-connection.js index e06a0c4e..cd15c8ef 100644 --- a/js/vn/json-connection.js +++ b/js/vn/json-connection.js @@ -85,8 +85,8 @@ module.exports = new Class({ const config = { headers: {'Authorization': token} }; - await this.post('Accounts/logout', null, config); await this.send('user/logout'); + await this.post('Accounts/logout', null, config); } },