Skip to content

Commit 53d5ab6

Browse files
authored
fix: offer => match (#3258)
1 parent afe256b commit 53d5ab6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

__tests__/notifications/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ describe('generateNotification', () => {
12231223
expect(actual.notification.referenceType).toEqual('opportunity');
12241224
expect(actual.notification.uniqueKey).toEqual(userId);
12251225
expect(actual.notification.icon).toEqual('Opportunity');
1226-
expect(actual.notification.title).toEqual('New job offer waiting for you');
1226+
expect(actual.notification.title).toEqual('New job match waiting for you');
12271227
expect(actual.notification.description).toEqual(
12281228
'<span><strong class="text-accent-cabbage-default">Why this is a match:</strong> Based on your React and TypeScript skills</span>',
12291229
);

src/notifications/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export const notificationTitleMap: Record<
196196
new_user_welcome: systemTitle,
197197
announcements: systemTitle,
198198
in_app_purchases: systemTitle,
199-
new_opportunity_match: () => `New job offer waiting for you`,
199+
new_opportunity_match: () => `New job match waiting for you`,
200200
post_analytics: (ctx: NotificationPostAnalyticsContext) => {
201201
return `Your post has reached ${formatMetricValue(ctx.analytics.impressions)} impressions so far. <span class="text-text-link">View more analytics</span>`;
202202
},

0 commit comments

Comments
 (0)