Skip to content

Commit

Permalink
v2 -> v3
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Nov 29, 2024
1 parent 7e431af commit e437800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/JoinForm/JoinForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default function JoinForm() {
let record: JoinRecord = Object.assign(
structuredClone(joinFormSubmission),
{
version: 2,
version: 3,
uuid: self.crypto.randomUUID(),
submission_time: new Date().toISOString(),
code: null,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/join_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class JoinRecordS3 {
// - dev vs prod join record
// - pre vs post-join form submission
// - 2nd quartet of join record UUID (random but not too long)
const key = `${this.PREFIX}${preSubmission ? "/pre" : "/post"}/${submissionKey}/${joinRecord.uuid.split("-")[1]}.json`;
const key = `${this.PREFIX}/v3/${preSubmission ? "/pre" : "/post"}/${submissionKey}/${joinRecord.uuid.split("-")[1]}.json`;

let body = JSON.stringify(joinRecord);

Expand Down

0 comments on commit e437800

Please sign in to comment.