Skip to content

Commit

Permalink
hotfix: invalid group_id date string
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 committed Sep 12, 2024
1 parent c895703 commit 9d122b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def shipment_request(
label_encoding, label_format = provider_units.LabelType.map(
payload.label_type or "PDF_4x6"
).value
group_id = lib.to_date(datetime.datetime.now(), "%Y%m%d")
group_id = lib.fdate(datetime.datetime.now(), "%Y%m%d")
customer_request_ids = [f"{str(uuid.uuid4().hex)}" for _ in range(len(packages))]
submit_shipment = lib.identity(
# set to true if canadapost_submit_shipment is true
Expand Down

0 comments on commit 9d122b8

Please sign in to comment.