MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / beginAccountMaintenance

Function beginAccountMaintenance

src/auth.js:72–77  ·  view source on GitHub ↗
(account)

Source from the content-addressed store, hash-verified

70}
71
72function beginAccountMaintenance(account) {
73 if (!account) return null;
74 account._maintenance = accountMaintenance(account) + 1;
75 account._maintenanceAt = Date.now();
76 return { account };
77}
78
79function endAccountMaintenance(token) {
80 const account = token?.account;

Callers 1

_probeAccountImplFunction · 0.85

Calls 1

accountMaintenanceFunction · 0.85

Tested by

no test coverage detected