Exiftool.ReadDescription: Remove wrong spec.

This commit is contained in:
Lain Soykaf 2023-12-12 11:09:54 +04:00
parent 18ab36d70c
commit 228966e6dd
1 changed files with 0 additions and 2 deletions

View File

@ -10,8 +10,6 @@ defmodule Pleroma.Upload.Filter.Exiftool.ReadDescription do
"""
@behaviour Pleroma.Upload.Filter
@spec filter(Pleroma.Upload.t()) :: {:ok, any()} | {:error, String.t()}
def filter(%Pleroma.Upload{description: description})
when is_binary(description),
do: {:ok, :noop}