Post list fixes

This commit is contained in:
Kilian committed 2024-07-25 21:00:34 +02:00
1 parent bb1e0eebf5
commit 202e89382a
55 files changed
+215 -183

No files matched your search

+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"]);
}
}