Skip to content

Commit

Permalink
Fix openapi gen
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Nov 13, 2024
1 parent e24b27b commit bdc8fbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/spellbook/views/find_my_combos.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,7 @@ def get(self, request: Request) -> Response:
@extend_schema(request=request, responses=response)
def post(self, request: Request) -> Response:
return self.get(request)

def get_queryset(self):
# Used by OpenAPI schema generation
return Variant.objects.none()

0 comments on commit bdc8fbb

Please sign in to comment.