From 4e75584c70187c45460b87ae1812ce82ca210222 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Thu, 18 Jan 2018 16:01:07 -0500 Subject: Add User-ID Field in Booking API Serializer Jira: None Change-Id: I217cf26b078461fa2300ee666bd4c2775c62316b Signed-off-by: Sawyer Bergeron --- src/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/api/serializers.py b/src/api/serializers.py index 794e139..e0ab102 100644 --- a/src/api/serializers.py +++ b/src/api/serializers.py @@ -21,7 +21,7 @@ class BookingSerializer(serializers.ModelSerializer): class Meta: model = Booking - fields = ('id', 'changeid', 'reset', 'resource_id', 'opsys_name', 'start', 'end', 'installer_name', 'scenario_name', 'purpose') + fields = ('id', 'changeid', 'reset', 'user', 'resource_id', 'opsys_name', 'start', 'end', 'installer_name', 'scenario_name', 'purpose') class ServerSerializer(serializers.ModelSerializer): -- cgit 1.2.3-korg