Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Fix users not scraping when API key is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Apr 29, 2023
1 parent 6d8a26d commit c94570f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enjinscraper",
"version": "1.6.7",
"version": "1.6.8",
"description": "Scrapes an Enjin site via the Enjin API",
"repository": "https://github.com/Kas-tle/EnjinScraper.git",
"author": "Joshua Castle <packages@kastle.dev",
Expand Down
2 changes: 1 addition & 1 deletion src/scrapers/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ export async function getUsers(database: Database, domain: string, apiKey: strin
null
]);
}
await insertRows(database, 'users', userDB);
}
await insertRows(database, 'users', userDB);
}

async function getColumnUsers(database: Database, table: string, column='user_id'): Promise<string[]> {
Expand Down

0 comments on commit c94570f

Please sign in to comment.