feat: ✨ user routing
feat: ✨ contact
This commit is contained in:
parent
d0187b1b42
commit
aa679b5a05
18 changed files with 304 additions and 64 deletions
|
@ -46,12 +46,12 @@ pub async fn update(
|
|||
sqlx::query_as!(
|
||||
Post,
|
||||
r#"
|
||||
UPDATE "post" SET poster_id = $1, post = $2 WHERE "creation_time" = $3
|
||||
UPDATE "post" SET poster_id = $2, post = $3 WHERE "creation_time" = $1
|
||||
RETURNING *
|
||||
"#,
|
||||
creation_time,
|
||||
poster_id,
|
||||
post,
|
||||
creation_time
|
||||
post
|
||||
)
|
||||
.fetch_one(database_connection)
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue