Skip to content

Commit 8fdb3f9

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

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
@@ -776,7 +776,6 @@ export class OrganizationService {
776776
* @returns A boolean indicating whether maintenance mode is enabled
777777
*/
778778
public async getMaintenanceMode(userId: string, orgId: string): Promise<boolean> {
779-
// Using write_settings permission as it's available to owners and installation admins
780779
await this.auth.checkPermissionOnOrganization(userId, "read_info", orgId);
781780

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

0 commit comments

Comments
 (0)