This commit is contained in:
SadlyNotSappho 2024-02-20 11:56:56 -08:00
parent 951372a60a
commit 723736f900
1 changed files with 2 additions and 2 deletions

View File

@ -254,14 +254,14 @@ impl Image {
VALUES ($1, $2,);
"#,
)
.bind(uuid)
.bind(&uuid)
.bind(user.username),
)
.await
{
Ok(_) => Status {
status: StatusTypes::Success,
data: "Created image successfully.".to_string()
data: uuid
},
Err(why) => {
eprintln!("Couldn't create database entry: {why:?}");