提交 c439cd64 编写于 作者: A Abdullah Alfaraj

retrieve the history of specific prompt

上级 881000aa
......@@ -65,7 +65,9 @@ class ComfyAPI {
async getHistory(prompt_id: string = '') {
try {
const url = `${this.comfy_url}/history/${prompt_id}`
const res = await requestGet(`${this.comfy_url}/history`)
const res = await requestGet(url)
return res
} catch (e) {
console.error(e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册