Skip to content

Commit 4b19079

Browse files
authored
Merge pull request #97 from AnswerDotAI/erikgaas/del_msg-json-false
Use json=False for del_msg to match rm_msg_ response
2 parents 48eb271 + 7315259 commit 4b19079

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dialoghelper/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def del_msg(
275275
dname:str='' # Dialog to get info for; defaults to current dialog
276276
):
277277
"Delete a message from the dialog. DO NOT USE THIS unless you have been explicitly instructed to delete messages."
278-
return call_endp('rm_msg_', dname, raiseex=True, msid=id, json=True)
278+
return call_endp('rm_msg_', dname, raiseex=True, msid=id, json=False)
279279

280280
# %% ../nbs/00_core.ipynb
281281
@delegates(add_msg)

nbs/00_core.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@
10061006
" dname:str='' # Dialog to get info for; defaults to current dialog\n",
10071007
"):\n",
10081008
" \"Delete a message from the dialog. DO NOT USE THIS unless you have been explicitly instructed to delete messages.\"\n",
1009-
" return call_endp('rm_msg_', dname, raiseex=True, msid=id, json=True)"
1009+
" return call_endp('rm_msg_', dname, raiseex=True, msid=id, json=False)"
10101010
]
10111011
},
10121012
{

0 commit comments

Comments
 (0)