You've already forked AstralRinth
forked from didirus/AstralRinth
Fix revocation of invites, allow for /user_id/teams to be useful
This commit is contained in:
@@ -235,6 +235,16 @@ impl Version {
|
||||
.execute(exec)
|
||||
.await?;
|
||||
|
||||
sqlx::query!(
|
||||
"
|
||||
DELETE FROM downloads
|
||||
WHERE downloads.version_id = $1
|
||||
",
|
||||
id as VersionId,
|
||||
)
|
||||
.execute(exec)
|
||||
.await?;
|
||||
|
||||
use futures::TryStreamExt;
|
||||
|
||||
let files = sqlx::query!(
|
||||
|
||||
Reference in New Issue
Block a user