add appId fallback for appName in event results (#26146)

This commit is contained in:
Anik Dhabal Babu
2025-12-23 17:20:28 +00:00
committed by GitHub
parent 2689cdfdff
commit f35b36fafa
2 changed files with 5 additions and 5 deletions
@@ -1174,7 +1174,7 @@ export default class EventManager {
if (!calendarReference) {
return {
appName: cred.appName || "",
appName: cred.appName || cred.appId || "",
type: cred.type,
success: false,
uid: "",
@@ -1267,7 +1267,7 @@ export default class EventManager {
if (createdEvent) {
createdEvents.push({
type: credential.type,
appName: credential.appName || "",
appName: credential.appName || credential.appId || "",
uid,
success,
createdEvent: {
@@ -1300,7 +1300,7 @@ export default class EventManager {
updatedEvents.push({
type: credential.type,
appName: credential.appName || "",
appName: credential.appName || credential.appId || "",
success,
uid: updatedEvent?.id || "",
originalEvent: event,
@@ -365,7 +365,7 @@ export const createEvent = async (
})
);
return {
appName: credential.appName || "",
appName: credential.appName || credential.appId || "",
type: credential.type,
success,
uid,
@@ -450,7 +450,7 @@ export const updateEvent = async (
}
return {
appName: credential.appName || "",
appName: credential.appName || credential.appId || "",
type: credential.type,
success,
uid,