From 4074c1ef4775f1f45f5de16b1afab77a3d586427 Mon Sep 17 00:00:00 2001 From: Jake Vanderwerf <get@jakevanderwerf.ca> Date: Wed, 11 Feb 2026 02:32:38 +0000 Subject: [PATCH] =testing upload manager racing condition for updating an image field to an empty string immediately after successfully setting the image --- inc/rest/routes/ContentRoutes.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/inc/rest/routes/ContentRoutes.php b/inc/rest/routes/ContentRoutes.php index bbeefce..1c90f30 100644 --- a/inc/rest/routes/ContentRoutes.php +++ b/inc/rest/routes/ContentRoutes.php @@ -96,7 +96,8 @@ 'user' => 'int|required', 'posts' => 'required', 'content' => 'string', - ]); + ]) + ->register(); } protected function initTimelineFields(string $content): void -- Gitblit v1.10.0