Skip to content
Snippets Groups Projects
Commit 66a5bc4f authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix ban path

parent d703e712
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ angular.module('matrixService', [])
// Bans a user from from a room
ban: function(room_id, user_id, reason) {
var path = "/rooms/$room_id/ban/";
var path = "/rooms/$room_id/ban";
path = path.replace("$room_id", encodeURIComponent(room_id));
return doRequest("POST", path, undefined, {
......
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