Skip to content

Commit acefad7

Browse files
committed
Enum members should be converted to their values
1 parent 8e7c203 commit acefad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bugout/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def set_user_group(
8484
)
8585

8686
data: Dict[str, Any] = {
87-
"user_type": user_type,
87+
"user_type": user_type.value,
8888
}
8989
if username is not None:
9090
data.update({"username": username})

0 commit comments

Comments
 (0)