Skip to content

Commit cc4fc12

Browse files
committed
refractor: make function easier
1 parent 1059439 commit cc4fc12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlrw/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def http_auth_post(self, route, data, jwt):
105105
return OneRoster.http_post(route, data, jwt)
106106

107107
def change_indicator(self, status, jwt):
108-
return OneRoster.http_post(Routes.INDICATOR, status, jwt)
108+
return OneRoster.http_post(Routes.INDICATOR, {'status': status}, jwt)
109109

110110
def post_user(self, data, jwt, check):
111111
check = 'false' if check is False else 'true'

0 commit comments

Comments
 (0)