Fixing create event (#5781)

pull/5780/head^2
Leo Giovanetti 2022-11-29 15:47:08 -03:00 committed by GitHub
parent 16fda5f599
commit 901f54ca3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ export const createEvent = async (
createdEvent: creationResult,
originalEvent: calEvent,
calError,
calWarnings: creationResult?.additionalInfo.calWarnings,
calWarnings: creationResult?.additionalInfo?.calWarnings || [],
};
};