File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88__email__ = "engineering@bugout.dev"
99__license__ = "MIT"
10- __version__ = "0.0.7 "
10+ __version__ = "0.0.8 "
1111
1212__all__ = (
1313 "__author__" ,
Original file line number Diff line number Diff 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 })
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ def update_journal_scopes(
6969 ) -> BugoutJournalScopeSpecs :
7070 journal_scopes_path = f"journals/{ journal_id } /scopes"
7171 json = {
72- "holder_type" : holder_type ,
73- "holder_id" : holder_id ,
72+ "holder_type" : holder_type . value ,
73+ "holder_id" : str ( holder_id ) ,
7474 "permission_list" : permission_list ,
7575 }
7676 headers = {
You can’t perform that action at this time.
0 commit comments