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"
|
initial_display_name: "PeerTube"
|
||||||
})}).then(f => f.json())
|
})}).then(f => f.json())
|
||||||
if(r.access_token){
|
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",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: r.access_token
|
Authorization: r.access_token
|
||||||
|
|
Loading…
Reference in a new issue