Fixed query build error & added api to landingpage
This commit is contained in:
@@ -19,10 +19,10 @@ function buildQuery(options: any[][]): string {
|
||||
} else if (element[1] instanceof Array) {
|
||||
element[1] = JSON.stringify(element[1])
|
||||
}
|
||||
query.push(`${element[0]}&${element[1]}`)
|
||||
query.push(`${element[0]}=${element[1]}`)
|
||||
}
|
||||
});
|
||||
return query.join("=")
|
||||
return query.join("&")
|
||||
}
|
||||
|
||||
interface Author {
|
||||
|
||||
Reference in New Issue
Block a user