fix typo
This commit is contained in:
parent
b0461ea329
commit
11a8f0db3a
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -60,7 +60,7 @@ async function login (peertubeHelpers, settingsManager, options) {
|
|||
initial_display_name: "PeerTube"
|
||||
})}).then(f => f.json())
|
||||
if(r.access_token){
|
||||
const r2 = fetch(`https://${settings.url}/_matrix/client/logout`, {
|
||||
const r2 = fetch(`https://${settings.url}/_matrix/client/v3/logout`, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
Authorization: r.access_token
|
||||
|
|
Loading…
Reference in a new issue