summaryrefslogtreecommitdiff
path: root/src/api/profile
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-07-17 17:22:56 +0200
committerpennae <github@quasiparticle.net>2022-07-17 17:22:56 +0200
commitc732402c21a6b2459588ff0c9633854a4b6b47f7 (patch)
treedef33d9491d1920b5780fc7646e174fca1072b41 /src/api/profile
parentb64981efd78f3ebecb327188a1ab168921c1698f (diff)
downloadminor-skulk-c732402c21a6b2459588ff0c9633854a4b6b47f7.tar.gz
minor-skulk-c732402c21a6b2459588ff0c9633854a4b6b47f7.tar.xz
minor-skulk-c732402c21a6b2459588ff0c9633854a4b6b47f7.zip
fix clippy warnings
Diffstat (limited to 'src/api/profile')
-rw-r--r--src/api/profile/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/profile/mod.rs b/src/api/profile/mod.rs
index 28d1e03..da9c87f 100644
--- a/src/api/profile/mod.rs
+++ b/src/api/profile/mod.rs
@@ -256,6 +256,7 @@ pub(crate) struct AvatarUploadResp {
}
#[post("/avatar/upload", data = "<data>")]
+#[allow(clippy::too_many_arguments)]
pub(crate) async fn avatar_upload(
db: &DbConn,
db_pool: &Db,