Maven endpoint support (#180)

* Basic maven endpoint

* Clean up maven endpoint

* cargo sqlx prepare

* Minor cleanup

* Remove indentation

* Borrow &str instead of &String

* Refactor mod_data-getting
This commit is contained in:
BasiqueEvangelist
2021-03-29 11:36:55 +03:00
committed by GitHub
parent b98ad47618
commit 15c56dfcb8
8 changed files with 350 additions and 4 deletions

View File

@@ -405,7 +405,7 @@ impl Mod {
}
pub async fn get_full_from_slug<'a, 'b, E>(
slug: String,
slug: &str,
executor: E,
) -> Result<Option<QueryMod>, sqlx::error::Error>
where