mirror: remove unnecessary query parameter (#1766)

Summary:
In `_findOutdated`, we bound a query parameter that was not used by the
query. This is entirely harmless, but should still be fixed.

Test Plan:
That unit tests continue to pass suffices.

wchargin-branch: mirror-findoutdated-superfluous-param
This commit is contained in:
William Chargin 2020-04-23 11:46:04 -07:00 committed by GitHub
parent f546ff4377
commit b078ba386e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -593,7 +593,7 @@ export class Mirror {
`
)
.pluck()
.all({timeEpochMillisThreshold: +since});
.all();
const objects: $PropertyType<QueryPlan, "objects"> = db
.prepare(
dedent`\