Skip to content

Commit

Permalink
fix box avatar import (#613)
Browse files Browse the repository at this point in the history
For this call, I had missed the key part.... the image data
  • Loading branch information
bmartin5692 authored Jul 18, 2024
1 parent 74f4c17 commit 5fb52ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Box.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def avatar(self, image_data):
os.path.join("upload", f"{self.uuid}.{ext}")

ext = avatar_validation(image_data)
self._avatar = save_avatar(avatar_path)
self._avatar = save_avatar(avatar_path, image_data)

@property
def ipv4s(self):
Expand Down

0 comments on commit 5fb52ad

Please sign in to comment.