Skip to content

Commit 245b3fc

Browse files
committed
Fixed update journal scopes request
You have to convert HolderType to its value before sending it over the wire.
1 parent 33ecf56 commit 245b3fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bugout/journal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def update_journal_scopes(
7171
) -> BugoutJournalScopeSpecs:
7272
journal_scopes_path = f"journals/{journal_id}/scopes"
7373
json = {
74-
"holder_type": holder_type,
74+
"holder_type": holder_type.value,
7575
"holder_id": holder_id,
7676
"permission_list": permission_list,
7777
}

0 commit comments

Comments
 (0)