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 authored and GitHub committed 2021-03-29 10:36:55 +02:00
1 parent b98ad47618
commit 15c56dfcb8
8 files changed
+350 -4

No files matched your search

+1 -1
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