Skip to content

Commit

Permalink
Authorized scopes are included in Fragment Schema (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vas9ka authored Jul 22, 2024
1 parent 1aab473 commit 05b282c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ebl/fragmentarium/web/dtos.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ class FragmentDtoSchema(FragmentSchema):
)
references = fields.Nested(ApiReferenceSchema, many=True)

class Meta:
exclude = ("authorized_scopes",)


def create_response_dto(fragment: Fragment, user: User, has_photo: bool):
return FragmentDtoSchema(context={"user": user, "has_photo": has_photo}).dump(
Expand Down

0 comments on commit 05b282c

Please sign in to comment.