Skip to content

Commit 35c6088

Browse files
committed
fix(timeout): fix issue with timing out while in upload phase
1 parent 36caea1 commit 35c6088

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/backend/src/functions/timeout.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ export const resumeContributionAfterTimeoutExpiration = functions
281281
if (status === ParticipantStatus.EXHUMED)
282282
await participantDoc.ref.update({
283283
status: ParticipantStatus.READY,
284-
lastUpdated: getCurrentServerTimestampInMillis()
284+
lastUpdated: getCurrentServerTimestampInMillis(),
285+
tempContributionData: {}
285286
})
286287
else logAndThrowError(SPECIFIC_ERRORS.SE_CONTRIBUTE_CANNOT_PROGRESS_TO_NEXT_CIRCUIT)
287288

0 commit comments

Comments
 (0)