Got it working

This commit is contained in:
2026-06-17 14:23:38 -04:00
parent ec0a310d76
commit e54a53a496
3 changed files with 16 additions and 18 deletions
+1 -2
View File
@@ -7,7 +7,7 @@ pub async fn insert(
) -> Result<uuid::Uuid, sqlx::Error> {
match sqlx::query(
r#"
INSERT INTO "contacts" (content, user_id)
INSERT INTO "messages" (content, user_id)
VALUES($1, $2) RETURNING id;
"#,
)
@@ -23,4 +23,3 @@ pub async fn insert(
Err(_) => Err(sqlx::Error::RowNotFound),
}
}