mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 06:51:46 +01:00
Fix ban path
This commit is contained in:
parent
d703e712f7
commit
66a5bc4fad
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ angular.module('matrixService', [])
|
||||||
|
|
||||||
// Bans a user from from a room
|
// Bans a user from from a room
|
||||||
ban: function(room_id, user_id, reason) {
|
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));
|
path = path.replace("$room_id", encodeURIComponent(room_id));
|
||||||
|
|
||||||
return doRequest("POST", path, undefined, {
|
return doRequest("POST", path, undefined, {
|
||||||
|
|
Loading…
Reference in a new issue