mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add alert if the pod already made friends
This commit is contained in:
@@ -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!')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user