Skip to content

fix: allow nullable cancelation reason#18939

Merged
keithwillcode merged 1 commit intomainfrom
fix/400-canceling-meeting-with-internal-note
Jan 28, 2025
Merged

fix: allow nullable cancelation reason#18939
keithwillcode merged 1 commit intomainfrom
fix/400-canceling-meeting-with-internal-note

Conversation

@sean-brydon
Copy link
Copy Markdown
Member

What does this PR do?

  • Fixes #XXXX (GitHub issue number)
  • Fixes CAL-XXXX (Linear issue number - should be visible at the bottom of the GitHub issue description)

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Are there environment variables that should be set?
  • What are the minimal test data to have?
  • What is expected (happy path) to have (input and output)?
  • Any other important info that could help to test that PR

Checklist

  • I haven't read the contributing guide
  • My code doesn't follow the style guidelines of this project
  • I haven't commented my code, particularly in hard-to-understand areas
  • I haven't checked if my changes generate no new warnings

@graphite-app graphite-app Bot requested a review from a team January 28, 2025 14:09
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Jan 28, 2025 2:09pm
calcom-web-canary ⬜️ Ignored (Inspect) Jan 28, 2025 2:09pm

@keithwillcode keithwillcode added consumer core area: core, team members only labels Jan 28, 2025
@dosubot dosubot Bot added the 🐛 bug Something isn't working label Jan 28, 2025
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Jan 28, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (01/28/25)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (01/28/25)

1 label was added to this PR based on Keith Williams's automation.

Copy link
Copy Markdown
Member

@alishaz-polymath alishaz-polymath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT

id: z.number(),
name: z.string(),
cancellationReason: z.string().optional(),
cancellationReason: z.string().optional().nullable(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do nullish here instead?

Suggested change
cancellationReason: z.string().optional().nullable(),
cancellationReason: z.string().nullish(),

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 28, 2025

E2E results are ready!

@alishaz-polymath alishaz-polymath self-requested a review January 28, 2025 14:41
@keithwillcode keithwillcode merged commit e5946db into main Jan 28, 2025
@keithwillcode keithwillcode deleted the fix/400-canceling-meeting-with-internal-note branch January 28, 2025 14:45
keithwillcode pushed a commit that referenced this pull request Jan 28, 2025
MuhammadAimanSulaiman pushed a commit to hit-pay/cal.com that referenced this pull request Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working consumer core area: core, team members only ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants