Skip to content

Commit

Permalink
fix: number of element returned.
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-Dijoux committed Nov 2, 2023
1 parent 814fdff commit ebe52be
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/blueprints/formations.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ def resolve_get_search_formation() -> Tuple[Response, int] | HTTPException:
limit = post.get("limit")
offset = post.get("offset")

if get_jwt_identity():
limit = 4
else:
limit = 2
return search_formations(query, limit, offset)


Expand Down

0 comments on commit ebe52be

Please sign in to comment.