From 4796d213aa005efed500d45a87bb97c55e31d6fc Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 2 Sep 2020 15:50:33 -0700 Subject: [PATCH] oh right, remove LIMIT 1 from export script! --- scripts/export-users-to-auth0.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/export-users-to-auth0.js b/scripts/export-users-to-auth0.js index 894ac24..865a4d1 100644 --- a/scripts/export-users-to-auth0.js +++ b/scripts/export-users-to-auth0.js @@ -47,7 +47,7 @@ async function main() { `SELECT dti.id, oid.name, email, encrypted_password, password_salt FROM openneo_id.users oid INNER JOIN openneo_impress.users dti ON dti.remote_id = oid.id - ORDER BY dti.id LIMIT 1` + ORDER BY dti.id` ); users = rows.map(normalizeRow); } finally { @@ -93,7 +93,6 @@ async function runAuth0ImportJob(usersBatchJson, connectionId, batchStart) { while (job.status === "pending") { await pause(5000); job = await auth0.jobs.get({ id: job.id }); - console.log("beat..."); } if (job.status !== "completed") {