feat: ✨ read all packages
This commit is contained in:
parent
0acbb835f7
commit
f45bb18bff
3 changed files with 22 additions and 6 deletions
|
@ -61,3 +61,7 @@ pub async fn upload_package(mut package_file: Multipart) -> Option<Package> {
|
|||
|
||||
Some(package)
|
||||
}
|
||||
|
||||
pub async fn read_all_packages() -> Option<Vec<Package>> {
|
||||
database::read_all_packages().await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue