Replace json response on model pull with only the status message
This commit is contained in:
parent
5132adc8be
commit
82f4783d8a
1 changed files with 1 additions and 2 deletions
|
|
@ -474,8 +474,7 @@
|
|||
if (!resp.ok)
|
||||
throw new Error(`Status ${resp.status}`);
|
||||
const data = await resp.json();
|
||||
console.log(data);
|
||||
statusEl.textContent = `✅ ${JSON.stringify(data, null, 2)}`;
|
||||
statusEl.textContent = `✅ ${data.status}`;
|
||||
statusEl.style.color = "green";
|
||||
loadTags();
|
||||
} catch (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue