Skip to content

Commit 0007779

Browse files
Review comment: outdated comment
Co-authored-by: Filip Troníček <[email protected]>
1 parent 8fdb3f9 commit 0007779

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

components/server/src/orgs/organization-service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,6 @@ export class OrganizationService {
795795
* @returns A boolean indicating the new maintenance mode status
796796
*/
797797
public async setMaintenanceMode(userId: string, orgId: string, enabled: boolean): Promise<boolean> {
798-
// Using write_settings permission as it's available to owners and installation admins
799798
await this.auth.checkPermissionOnOrganization(userId, "maintenance", orgId);
800799

801800
const team = await this.teamDB.findTeamById(orgId);

0 commit comments

Comments
 (0)