Skip to content

Commit 61c5ca2

Browse files
Pradip-pspwoodcock
authored andcommitted
fix: changes type of drones enums as str
1 parent 808c3d9 commit 61c5ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/app/models/enums.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ class HTTPStatus(IntEnum):
130130
NOT_IMPLEMENTED = 501
131131

132132

133-
class DroneType(IntEnum):
133+
class DroneType(StrEnum):
134134
DJI_MINI_4_PRO = "DJI_MINI_4_PRO"
135-
DJI_AIR_3 = "DJI_MINI_4_PRO"
135+
DJI_AIR_3 = "DJI_AIR_3"
136136

137137

138138
class UserRole(int, Enum):

0 commit comments

Comments
 (0)