mirror of https://github.com/Chocobozzz/PeerTube
Add alert if the pod already made friends
parent
b3077e4170
commit
d7c01e7793
|
@ -58,6 +58,11 @@
|
|||
url: '/api/v1/pods/makefriends',
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
statusCode: {
|
||||
409: function () {
|
||||
alert('Already made friends.')
|
||||
}
|
||||
},
|
||||
success: function () {
|
||||
alert('Made friends!')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue