Skip to content

Commit

Permalink
fix: id as string
Browse files Browse the repository at this point in the history
  • Loading branch information
drazen04 committed Nov 11, 2024
1 parent 3ef2ccb commit 1ab5318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private static Element buildResponse(ZimbraSoapContext zsc, Folder group)
final var response = zsc.createElement(MailConstants.CREATE_CALENDAR_GROUP_RESPONSE);

final var groupInfo = response.addUniqueElement(GROUP_ELEMENT_NAME);
groupInfo.addAttribute(ID_ELEMENT_NAME, group.getId());
groupInfo.addAttribute(ID_ELEMENT_NAME, String.valueOf(group.getId()));
groupInfo.addAttribute(NAME_ELEMENT_NAME, group.getName());

for (final var calendarId : decodeCustomMetadata(group)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private static Element buildResponse(ZimbraSoapContext zsc, Folder group)
final var response = zsc.createElement(MailConstants.MODIFY_CALENDAR_GROUP_RESPONSE);

final var groupInfo = response.addUniqueElement(GROUP_ELEMENT_NAME);
groupInfo.addAttribute(ID_ELEMENT_NAME, group.getId());
groupInfo.addAttribute(ID_ELEMENT_NAME, String.valueOf(group.getId()));
groupInfo.addAttribute(NAME_ELEMENT_NAME, group.getName());

for (final var calendarId : decodeCustomMetadata(group)) {
Expand Down

0 comments on commit 1ab5318

Please sign in to comment.