Skip to content

Commit b472955

Browse files
committed
make sure sha256 passed across
1 parent 27c745f commit b472955

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

internal/datastore/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const PendingLetterSchemaBase = z.object({
8888
letterId: idRef(LetterSchema, "id"),
8989
specificationId: z.string(),
9090
groupId: z.string(),
91+
sha256Hash: z.string().optional(),
9192
});
9293

9394
export const PendingLetterSchema = PendingLetterSchemaBase.extend({

lambdas/api-handler/src/services/letter-operations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function mapPendingLetterToLetterBase(pending: PendingLetterBase): LetterBase {
3636
status: "PENDING",
3737
specificationId: pending.specificationId,
3838
groupId: pending.groupId,
39+
sha256Hash: pending.sha256Hash,
3940
};
4041
}
4142

0 commit comments

Comments
 (0)