uuid in application introspect
This commit is contained in:
parent
67223c4b53
commit
58ce90ff13
1 changed files with 3 additions and 1 deletions
|
|
@ -87,9 +87,11 @@ class IntrospectApplicationView(ClientProtectedScopedResourceView):
|
||||||
else:
|
else:
|
||||||
data = {
|
data = {
|
||||||
"active": True,
|
"active": True,
|
||||||
|
# "client_id": client_id,
|
||||||
|
"uuid": application.uuid
|
||||||
}
|
}
|
||||||
if application.user_id:
|
if application.user_id:
|
||||||
data["client_owner"] = str(application.user_id)
|
data["owner"] = str(application.user_id)
|
||||||
return JsonResponse(data)
|
return JsonResponse(data)
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue