MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / updateFilterAfterTimestampForStep7

Function updateFilterAfterTimestampForStep7

background/verification-flow.js:390–405  ·  view source on GitHub ↗
(requestedAt)

Source from the content-addressed store, hash-verified

388 let lastResendAt = Number(options.lastResendAt) || 0;
389
390 const updateFilterAfterTimestampForStep7 = async (requestedAt) => {
391 if (step !== 7 || !requestedAt) {
392 return nextFilterAfterTimestamp;
393 }
394
395 if (mail.provider === HOTMAIL_PROVIDER) {
396 nextFilterAfterTimestamp = getHotmailVerificationRequestTimestamp(7, {
397 ...state,
398 loginVerificationRequestedAt: requestedAt,
399 });
400 } else {
401 nextFilterAfterTimestamp = Math.max(0, Number(requestedAt) - 60000);
402 }
403
404 return nextFilterAfterTimestamp;
405 };
406
407 if (requestFreshCodeFirst) {
408 try {

Callers 1

resolveVerificationStepFunction · 0.85

Tested by

no test coverage detected