Skip to content

Commit

Permalink
fix on params
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Jul 16, 2023
1 parent 2b583c3 commit 46148b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absbox/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def queryLibrary(self,ks,**q):
deal_library_url = q['deal_library']+"/query"
d = {"bond_id": [k for k in ks] }
q = {"read":True} | q
result = self._send_req(json.dumps(d), deal_library_url,headers= {"Authorization":f"Bearer {self.token}"})
result = self._send_req(json.dumps(d|q), deal_library_url,headers= {"Authorization":f"Bearer {self.token}"})

console.print(f"✅[bold green] query success")
if q['read'] == True:
Expand Down

0 comments on commit 46148b3

Please sign in to comment.