Skip to content

Commit a5d4f6d

Browse files
authored
fix: change postman guide links (#982)
## Problem Postman guide link changed. ## Before & After Screenshots **BEFORE**: https://github.com/user-attachments/assets/f66fae69-03ab-4907-b1c2-83d090f4133d **AFTER**: https://github.com/user-attachments/assets/bf15a238-0c5e-4840-8ae5-9a2e8b447a7c ## Tests - [ ] Verify that Link element for supported file types opens a new tab to Postman's new guide
1 parent 4657f22 commit a5d4f6d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/backend/src/apps/postman/common/parameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const transactionalEmailFields: IField[] = [
8282
label: 'Attachments',
8383
key: 'attachments',
8484
description:
85-
'Check supported file types [here](https://guide.postman.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).\nPlease note that the maximum file size for each file is 2MB, and the total size of all attachments cannot exceed 10MB.',
85+
'Check supported file types [here](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).\nPlease note that the maximum file size for each file is 2MB, and the total size of all attachments cannot exceed 10MB.',
8686
type: 'attachment' as const,
8787
required: false,
8888
variables: true,

packages/backend/src/apps/postman/common/throw-errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function throwPostmanStepError({
102102
case 'INVALID-ATTACHMENT':
103103
throw new StepError(
104104
'Unsupported attachment file type',
105-
'Click on set up action and check that the attachment type is supported by postman. Please check the supported types at [this link](https://guide.postman.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).',
105+
'Click on set up action and check that the attachment type is supported by postman. Please check the supported types at [this link](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).',
106106
position,
107107
appName,
108108
error,

packages/frontend/src/components/NewsDrawer/NewsItemList.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const NEWS_ITEM_LIST: NewsItemProps[] = [
1717
details: dedent`
1818
⚒️ Tiles - you can now choose how to update numbers in Tiles: set as, add by, or subtract by.
1919
20-
📩 Postman - you can now upload and send your own attachments using the Email by Postman action. Check out the supported file types [here](https://guide.postman.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).
20+
📩 Postman - you can now upload and send your own attachments using the Email by Postman action. Check out the supported file types [here](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).
2121
`,
2222
},
2323
{
@@ -141,7 +141,7 @@ export const NEWS_ITEM_LIST: NewsItemProps[] = [
141141
title: 'Email attachments for Postman action',
142142
details: dedent`
143143
* Email attachments are now supported.
144-
* Checkout the supported file types [here](https://guide.postman.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).
144+
* Checkout the supported file types [here](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments#list-of-supported-attachment-file-types).
145145
`,
146146
multimedia: {
147147
url: 'https://file.go.gov.sg/clipplumber.png',

0 commit comments

Comments
 (0)