mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Updates for http-api verified commits change
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
+3
-1
@@ -10,7 +10,9 @@ export async function get(
|
||||
): Promise<any> {
|
||||
const query: Record<string, string> = {};
|
||||
for (const [key, val] of Object.entries(params)) {
|
||||
query[key] = val.toString();
|
||||
if (val !== undefined && val !== null) {
|
||||
query[key] = val.toString();
|
||||
}
|
||||
}
|
||||
|
||||
const base = api.host;
|
||||
|
||||
Reference in New Issue
Block a user