Skip to content

Commit

Permalink
verify token with extra fields (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
RicLaiZA and Ubuntu authored Dec 17, 2024
1 parent 3768cfe commit a6c3401
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion psl_proof/models/cargo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ def to_verification_json(self) -> dict:
return {
"VerificationType": 0, # VerificationToken.
"Token": self.submission_token,
"Reference": self.submission_id
"Reference": self.submission_id,
"SubmittedBy": self.submission_by,
"SubmittedOn": self.submission_date.isoformat(),
}

# ChatData for Source (final destination data structure)
Expand Down

0 comments on commit a6c3401

Please sign in to comment.