mirror of
https://github.com/dani/patrix.git
synced 2024-06-01 05:21:40 +02:00
Fix debug statement
This commit is contained in:
parent
0a7b73403f
commit
f0a49c9dc4
|
@ -417,7 +417,7 @@ sub modify_room {
|
|||
}
|
||||
}
|
||||
my $perm = merge($current_perm, $new_perm);
|
||||
print to_json($perm, { pretty => 1 });
|
||||
debug("New permissions for this room will be:\n" . to_json($perm, { pretty => 1 }));
|
||||
$uri = $opt->{server} . '/_matrix/client/r0/rooms/' . $opt->{room} . '/state/m.room.power_levels?access_token=' . $opt->{access_token};
|
||||
$resp = send_request({
|
||||
method => 'PUT',
|
||||
|
|
Loading…
Reference in New Issue
Block a user