Revert "Fix UTF double encoding in file editor" (#2236)

This commit is contained in:
Charles
2026-02-15 11:08:01 -05:00
committed by GitHub
parent 44f6cf8928
commit fdcfbb00ca
3 changed files with 3 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ class DaemonFileRepository extends DaemonRepository
{
$response = $this->getHttpClient()
->withQueryParameters(['file' => $path])
->withBody($content, 'text/plain')
->withBody($content)
->post("/api/servers/{$this->server->uuid}/files/write");
if ($response->status() === 400) {