Skip to content

five-on-it / apps/api/src/entitlement / sweepEntitlements

Function: sweepEntitlements() ​

sweepEntitlements(ctx): Promise<number>

Defined in: apps/api/src/entitlement.ts:146

Asks Steam again about the entitlements of the accounts signed in with in the last 14 days that were checked more than a day ago (a refunded copy, a family's library that stopped lending); how many it asked about. One Steam cannot answer is left for the next run.

Parameters ​

ctx ​

EntitlementContext

Returns ​

Promise<number>