aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xauria.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/auria.sh b/auria.sh
index d51a2ec..8a42e9c 100755
--- a/auria.sh
+++ b/auria.sh
@@ -619,7 +619,7 @@ function rpc
fi
curl "${curl_args[@]}" --silent --get "${cargs[@]}" \
- "https://aur.archlinux.org/rpc/?v=5&type=${type}" \
+ "https://aur.archlinux.org/rpc/?v=5&type=${qtype}" \
-o "$file" \
|| { error "Failed to query AUR RPC interface."; return 2; }