fix(carddav): resolve PROPFIND 404 and MKCOL 500 bugs

This commit is contained in:
DeepRot
2026-04-30 23:58:56 +02:00
parent af44d67ff8
commit c041dfece4
2 changed files with 67 additions and 7 deletions
@@ -26,7 +26,7 @@ impl AddressBookRepository for AddressBookPgRepository {
let row = sqlx::query(
r#"
INSERT INTO carddav.address_books (id, name, owner_id, description, color, is_public, created_at, updated_at)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
VALUES ($1, $2, $3::uuid, $4, $5, $6, $7, $8)
RETURNING id, name, owner_id, description, color, is_public, created_at, updated_at
"#
)