aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2018-01-18 16:01:07 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2018-01-18 16:05:53 -0500
commit4e75584c70187c45460b87ae1812ce82ca210222 (patch)
treee24e878487fc028fe8cd6aa9074a39f5a818dcb4 /src/api
parenta1df798486c60c911dfb2e6c2c487f7bcb7f6d01 (diff)
Add User-ID Field in Booking API Serializer
Jira: None Change-Id: I217cf26b078461fa2300ee666bd4c2775c62316b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/api')
-rw-r--r--src/api/serializers.py2
1 files changed, 1 insertions, 1 deletions
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):