mirror of https://github.com/snachodog/mybuddy.git
Black
This commit is contained in:
parent
500fb06453
commit
9723bccc40
|
@ -125,8 +125,7 @@ class ProfileView(views.APIView):
|
|||
|
||||
def get(self, request):
|
||||
settings = get_object_or_404(
|
||||
babybuddy_models.Settings.objects,
|
||||
user=request.user
|
||||
babybuddy_models.Settings.objects, user=request.user
|
||||
)
|
||||
serializer = self.serializer_class(settings)
|
||||
return Response(serializer.data)
|
||||
return Response(serializer.data)
|
||||
|
|
Loading…
Reference in New Issue