Skip to content

Commit

Permalink
#71 fix : modify locationserializer integer to float (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
0321minji authored Aug 19, 2024
1 parent 272aa66 commit 4e2f80e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lands/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class ItemImageSerializer(serializers.Serializer):
image = serializers.ImageField()

class LocationSerializer(serializers.Serializer):
x = serializers.IntegerField()
y = serializers.IntegerField()
z = serializers.IntegerField()
x = serializers.FloatField()
y = serializers.FloatField()
z = serializers.FloatField()
show = serializers.BooleanField()

class ItemSerializer(serializers.Serializer):
Expand Down

0 comments on commit 4e2f80e

Please sign in to comment.