Skip to content

Commit 1e0335b

Browse files
committed
fix: Fixed a typing error on the website admin positions
1 parent ca5446d commit 1e0335b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/permission/types.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from fastapi import HTTPException
55

66
import database
7-
import elections.crud
87
import officers.constants
98
import officers.crud
109
import utils
@@ -52,7 +51,7 @@ async def has_permission(db_session: database.DBSession, computing_id: str) -> b
5251
return False
5352

5453
class WebsiteAdmin:
55-
WEBSITE_ADMIN_POSITIONS: ClassVar[list[OfficerPosition]] = [
54+
WEBSITE_ADMIN_POSITIONS: ClassVar[list[str]] = [
5655
OfficerPosition.PRESIDENT,
5756
OfficerPosition.VICE_PRESIDENT,
5857
OfficerPosition.DIRECTOR_OF_ARCHIVES,

0 commit comments

Comments
 (0)