Removes variable which was never set, removed unneeded serializer method

This commit is contained in:
Trenton Holmes
2022-06-14 07:07:44 -07:00
parent d1418a138a
commit c9cf8fe5e4
2 changed files with 5 additions and 6 deletions

View File

@@ -573,10 +573,6 @@ class StoragePathSerializer(MatchingModelSerializer):
return path
def create(self, validated_data):
storage_path = StoragePath.objects.create(**validated_data)
return storage_path
class UiSettingsViewSerializer(serializers.ModelSerializer):
class Meta: