From 4de77888249a571269c61ee94f6e6a828d63fa90 Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Wed, 5 Sep 2018 10:38:10 -0500 Subject: [PATCH] Fixing signoff key for events API Changed key for response data from 'signoff' to 'signoffs' in the events API. Historically, there has not been a client method for accessing this endpoint, so there should not be any issues with compatibility. --- gracedb/api/v1/events/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gracedb/api/v1/events/views.py b/gracedb/api/v1/events/views.py index 04ada23df..f5bcfd397 100644 --- a/gracedb/api/v1/events/views.py +++ b/gracedb/api/v1/events/views.py @@ -1744,7 +1744,7 @@ class OperatorSignoffList(APIView): 'first' : request.build_absolute_uri(), 'last' : request.build_absolute_uri(), }, - 'signoff' : signoff, + 'signoffs' : signoff, } return Response(rv) -- GitLab