Skip to content

Commit

Permalink
Properly tracking mint status for evolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
smakhtin committed Oct 21, 2024
1 parent 1df4342 commit 45d3671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/routes/dotphin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ app.openapi(
};

await addMint(SESSIONS_DB, mintId, pendingResponse);

await setDotphinClaim(SESSIONS_DB, mintId, address);

//Mark proof as used
Expand Down Expand Up @@ -456,6 +455,7 @@ app.openapi(
actionId: mintId,
};

await addMint(SESSIONS_DB, mintId, pendingResponse);
await addProofAsUsed(SESSIONS_DB, proofDID, address);

return c.json(pendingResponse, 200);
Expand Down

0 comments on commit 45d3671

Please sign in to comment.