oops
This commit is contained in:
parent
951372a60a
commit
723736f900
|
@ -254,14 +254,14 @@ impl Image {
|
||||||
VALUES ($1, $2,);
|
VALUES ($1, $2,);
|
||||||
"#,
|
"#,
|
||||||
)
|
)
|
||||||
.bind(uuid)
|
.bind(&uuid)
|
||||||
.bind(user.username),
|
.bind(user.username),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Ok(_) => Status {
|
Ok(_) => Status {
|
||||||
status: StatusTypes::Success,
|
status: StatusTypes::Success,
|
||||||
data: "Created image successfully.".to_string()
|
data: uuid
|
||||||
},
|
},
|
||||||
Err(why) => {
|
Err(why) => {
|
||||||
eprintln!("Couldn't create database entry: {why:?}");
|
eprintln!("Couldn't create database entry: {why:?}");
|
||||||
|
|
Loading…
Reference in New Issue