Self hosted FLOSS fitness/workout, nutrition and weight tracker
Typo
Roland Geiderfa6ffbae9254
diff --git a/wger/core/api/serializers.py b/wger/core/api/serializers.pyindex 9a34376f8..701e99dcd 100644--- a/wger/core/api/serializers.py+++ b/wger/core/api/serializers.py@@ -43,7 +43,6 @@ class UserprofileSerializer(serializers.ModelSerializer):username = serializers.EmailField(source="user.username", read_only=True)date_joined = serializers.EmailField(source="user.date_joined", read_only=True)-class Meta:model = UserProfilefields = [diff --git a/wger/utils/permissions.py b/wger/utils/permissions.pyindex 956a1c2bd..1a10d167b 100644--- a/wger/utils/permissions.py+++ b/wger/utils/permissions.py@@ -24,7 +24,7 @@ class WgerPermission(permissions.BasePermission):Checks that the user has access to the objectIf the object has a 'owner_object' method, only allow access for the owner- user. For the other objects (system wide objects like exercises, etc.) allow+ user. For the other objects (system-wide objects like exercises, etc.) allowonly safe methods (GET, HEAD or OPTIONS)"""