Run prepare

This commit is contained in:
Geometrically 2021-01-15 07:48:37 -07:00
parent 62f1e39e6e
commit 1e1d047e07
No known key found for this signature in database
GPG Key ID: 90C056FDC8FC9FF0
2 changed files with 16 additions and 3 deletions

View File

@ -1236,6 +1236,19 @@
"nullable": []
}
},
"53a8966ac345cc334ad65ea907be81af74e90b1217696c7eedcf8a8e3fca736e": {
"query": "\n UPDATE versions\n SET version_number = $1\n WHERE (id = $2)\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Int8"
]
},
"nullable": []
}
},
"5564434408e4b88ff1bdd14e0d32a35136e5ee0c837655fbde7d3ca9182dc25b": {
"query": "\n SELECT tm.id, tm.team_id, tm.user_id, tm.role, tm.permissions, tm.accepted FROM mods m\n INNER JOIN team_members tm ON tm.team_id = m.team_id AND user_id = $2 AND accepted = TRUE\n WHERE m.id = $1\n ",
"describe": {

View File

@ -309,9 +309,9 @@ pub async fn version_edit(
number,
id as database::models::ids::VersionId,
)
.execute(&mut *transaction)
.await
.map_err(|e| ApiError::DatabaseError(e.into()))?;
.execute(&mut *transaction)
.await
.map_err(|e| ApiError::DatabaseError(e.into()))?;
}
if let Some(version_type) = &new_version.version_type {