diff --git a/src/booking.py b/src/booking.py index 6c07355..6902279 100644 --- a/src/booking.py +++ b/src/booking.py @@ -152,14 +152,13 @@ class Event(models.Model): Create ics string :return: """ - uuid = self.uuid.__str__() c = ICS_Calendar() e = ICS_Event() - e.uid = uuid + e.uid = self.uuid.__str__() e.name = self.name e.begin = self.start e.end = self.end - e.description = f"Meeting-ID: {uuid}" + e.description = f"Meeting-ID: {self.id}" c.events.add(e) return c.serialize() diff --git a/version.txt b/version.txt index e4c0d46..a6a3a43 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.3 \ No newline at end of file +1.0.4 \ No newline at end of file