Calendar/caldav sync with nextcloud

The nextcloud calendar event requires the CUTYPE set to ROOM for the resource in the .ics file.
How to add this option to the .ics file like the one below:
ATTENDEE;CN=akwarium;CUTYPE=ROOM;ROLE=CHAIR;RSVP=TRUE;SCHEDULE-STATUS=1.0:mailto:[email protected]