Post list fixes

This commit is contained in:
2024-07-25 21:00:34 +02:00
parent bb1e0eebf5
commit 202e89382a
55 changed files with 215 additions and 183 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ class Post implements JsonSerializable
$stmt->bindValue(":ID", $this->id);
try {
if (!$stmt->execute()) throw ApiError::failedUpdate(["content"]);
} catch (Exception) {
} catch (Exception $e) {
throw ApiError::failedUpdate(["content"]);
}
}