Skip to content

Commit

Permalink
fix: deleted defaultSubjectValue
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin.jaroschewski committed Jul 16, 2024
1 parent 73f4113 commit 9955cb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/calendarIntegration/addMeetingLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { mailboxItem } from "../commands/commands";
import { EventResult } from "../types/EventResult";
import { PlatformType } from "../types/PlatformTypes";

const defaultSubjectValue = "New Appointment";
let createdMeeting: EventResult;

/**
Expand Down Expand Up @@ -80,7 +79,7 @@ async function createNewMeeting(): Promise<void> {
let subject = await getMailboxItemSubject(mailboxItem);
subject = await modifyConversationName(subject);

const eventResult = await createEvent(subject || defaultSubjectValue);
const eventResult = await createEvent(subject);

if (eventResult) {
createdMeeting = eventResult;
Expand Down

0 comments on commit 9955cb3

Please sign in to comment.