diff --git a/app/views/app_data/_profile.jbuilder b/app/views/app_data/_profile.jbuilder
index 76d36c6a..2f03056b 100644
--- a/app/views/app_data/_profile.jbuilder
+++ b/app/views/app_data/_profile.jbuilder
@@ -3,4 +3,4 @@
 # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
 json.extract! profile, :id, :name, :country, :picture
 json.url profile_path(profile)
-json.pic_tiny profile.get_profile_picture(:tiny)
\ No newline at end of file
+json.pic_tiny profile.picture_by_size(:tiny) if profile.picture.attached?