Skip to content
Snippets Groups Projects
Commit 7dc7c530 authored by David Baker's avatar David Baker
Browse files

The REST API spec only alows for returning a single server so name the

endpoint appropriately.
parent 7679ee73
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ import base64
class VoipRestServlet(RestServlet):
PATTERN = client_path_pattern("/voip/turnServers$")
PATTERN = client_path_pattern("/voip/turnServer$")
@defer.inlineCallbacks
def on_GET(self, request):
......
......@@ -765,7 +765,7 @@ angular.module('matrixService', [])
},
getTurnServer: function() {
return doRequest("GET", "/voip/turnServers");
return doRequest("GET", "/voip/turnServer");
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment