Add category to query

pull/73/head
MillenniumEarl 2021-03-03 20:28:22 +01:00
parent 18c901288e
commit 7dae1bad3c
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ async function main() {
// Prepare the query // Prepare the query
const query: HandiworkSearchQuery = new HandiworkSearchQuery(); const query: HandiworkSearchQuery = new HandiworkSearchQuery();
query.category = "games";
query.keywords = gamename; query.keywords = gamename;
// Fetch the first result // Fetch the first result