Skip to content

Commit

Permalink
Adjust Create PR of WebUI to API (#8220)
Browse files Browse the repository at this point in the history
* Adjust Create PR of WebUI to API

* Update webui/src/lib/api/index.js

---------

Co-authored-by: N-o-Z <ozery.nir@gmail.com>
  • Loading branch information
itaigilo and N-o-Z authored Sep 24, 2024
1 parent af8eb92 commit a7efa10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/lib/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ class Pulls {
throw new Error(`${baseMessage} (status = ${response.status}).`);
}
}
return await response.text();
return response.json()
}

async update(repoId, pullId, pullDetails) {
Expand Down

0 comments on commit a7efa10

Please sign in to comment.