diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2018-01-18 16:01:07 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2018-01-18 16:05:53 -0500 |
commit | 4e75584c70187c45460b87ae1812ce82ca210222 (patch) | |
tree | e24e878487fc028fe8cd6aa9074a39f5a818dcb4 | |
parent | a1df798486c60c911dfb2e6c2c487f7bcb7f6d01 (diff) |
Add User-ID Field in Booking API Serializer
Jira: None
Change-Id: I217cf26b078461fa2300ee666bd4c2775c62316b
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
-rw-r--r-- | src/api/serializers.py | 2 |
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): |