Skip to content

Commit

Permalink
[projects] Fix thumbnail resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
frankrousseau authored and EvanBldy committed Sep 3, 2024
1 parent 6f86879 commit df2d1c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zou/app/blueprints/previews/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ def get(self, instance_id):


class PersonThumbnailResource(BaseThumbnailResource):

def __init__(self):
BaseThumbnailResource.__init__(
self,
Expand Down Expand Up @@ -1028,6 +1029,7 @@ def __init__(self):
"projects",
projects_service.get_project,
projects_service.update_project,
thumbnail_utils.BIG_SQUARE_SIZE,
)

def check_allowed_to_get(self, instance_id):
Expand Down

0 comments on commit df2d1c2

Please sign in to comment.