Skip to content

Commit 120c9a7

Browse files
committed
..
1 parent c752a19 commit 120c9a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/app/api/server/v1/teams.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ API.v1.addRoute(
174174
}
175175

176176
if (!(await hasPermissionAsync(this.userId, 'move-room-to-team', team.roomId))) {
177-
return API.v1.unauthorized('error-no-permission-team-channel');
177+
return API.v1.forbidden('error-no-permission-team-channel');
178178
}
179179

180180
const { rooms } = this.bodyParams;

0 commit comments

Comments
 (0)