mirror of
https://github.com/tutao/tutanota.git
synced 2025-12-08 06:09:50 +00:00
add missing try statement to CalendarEntity
This commit is contained in:
parent
bc33998864
commit
c873ab8925
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ struct CalendarEntity: AppEntity {
|
|||
|
||||
static func fetchCalendars(_ userId: String) async throws -> [CalendarEntity] {
|
||||
let sdk = try await SdkFactory.createSdk(userId: userId)
|
||||
let calendars = await sdk.calendarFacade().getCalendarsRenderData()
|
||||
let calendars = try await sdk.calendarFacade().getCalendarsRenderData()
|
||||
return calendars.map { calendarId, renderData in
|
||||
var calendarName = renderData.name.isEmpty ? DEFAULT_CALENDAR_NAME : renderData.name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue