Skip to content

Commit

Permalink
fix: changes type of drones enums as str
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Dec 24, 2024
1 parent 3160e85 commit e101051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/models/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ class HTTPStatus(IntEnum):
NOT_IMPLEMENTED = 501


class DroneType(IntEnum):
class DroneType(StrEnum):
DJI_MINI_4_PRO = "DJI_MINI_4_PRO"
DJI_AIR_3 = "DJI_MINI_4_PRO"
DJI_AIR_3 = "DJI_AIR_3"


class UserRole(IntEnum, Enum):
Expand Down

0 comments on commit e101051

Please sign in to comment.