diff options
Diffstat (limited to 'src/state/lib/api.ts')
-rw-r--r-- | src/state/lib/api.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/lib/api.ts b/src/state/lib/api.ts index bb3ef5d1a..df0047991 100644 --- a/src/state/lib/api.ts +++ b/src/state/lib/api.ts @@ -97,7 +97,7 @@ export async function unrepost(adx: AdxClient, user: string, uri: string) { return numDels > 0 } -type WherePred = (record: GetRecordResponseValidated) => Boolean +type WherePred = (_record: GetRecordResponseValidated) => Boolean async function deleteWhere( coll: AdxRepoCollectionClient, schema: SchemaOpt, @@ -115,7 +115,7 @@ async function deleteWhere( return toDelete.length } -type IterateAllCb = (record: GetRecordResponseValidated) => void +type IterateAllCb = (_record: GetRecordResponseValidated) => void async function iterateAll( coll: AdxRepoCollectionClient, schema: SchemaOpt, |