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 | a4ab1e7f6d5ebb0cc745f7183b79786ad6daa4d4 (patch) | |
tree | c21549571d083b1b8913203e271b917fd7148519 /dashboard/src | |
parent | c32479489db670904579a580a918f3513581fda9 (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 'dashboard/src')
-rw-r--r-- | dashboard/src/api/serializers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/src/api/serializers.py b/dashboard/src/api/serializers.py index 794e139..e0ab102 100644 --- a/dashboard/src/api/serializers.py +++ b/dashboard/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): |