mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Removes variable which was never set, removed unneeded serializer method
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user