This commit is contained in:
parent
b0557bbc48
commit
92cefff212
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ pub async fn upload_pkg(
|
||||||
|
|
||||||
let arch = pkg_info
|
let arch = pkg_info
|
||||||
.iter()
|
.iter()
|
||||||
.find(|x| x.0 == "pkgname")
|
.find(|x| x.0 == "arch")
|
||||||
.ok_or_else(|| api_error("Package has no arch"))?
|
.ok_or_else(|| api_error("Package has no arch"))?
|
||||||
.1
|
.1
|
||||||
.as_str();
|
.as_str();
|
||||||
|
|
Loading…
Add table
Reference in a new issue