Fixes decimaal formatting
This commit is contained in:
@@ -450,4 +450,6 @@ class DecimalField(ActivitypubFieldMixin, models.DecimalField):
|
||||
""" activitypub-aware boolean field """
|
||||
|
||||
def field_to_activity(self, value):
|
||||
if not value:
|
||||
return None
|
||||
return float(value)
|
||||
|
Reference in New Issue
Block a user