From 22d3e07d88905338f73c38c5180a1a7d14e5ef9d Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Thu, 12 Oct 2023 19:54:48 -0400
Subject: [PATCH] fix: return serializer.data when updating a Timeslot

---
 program/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/program/views.py b/program/views.py
index 6012b1ef..ada0b39c 100644
--- a/program/views.py
+++ b/program/views.py
@@ -731,7 +731,7 @@ class APITimeSlotViewSet(
                 return Response(serializer.data)
 
             # ...or nothing if there isn't one
-            return Response(status=status.HTTP_200_OK)
+            return Response(serializer.data, status=status.HTTP_200_OK)
 
         return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
 
-- 
GitLab