commit: 228966e6dd1bd4a01d0c01609d9f6ad2279d278f
parent 18ab36d70c0b1304855a9ed4626c04a4ef23a242
Author: Lain Soykaf <lain@lain.com>
Date: Tue, 12 Dec 2023 11:09:54 +0400
Exiftool.ReadDescription: Remove wrong spec.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/pleroma/upload/filter/exiftool/read_description.ex b/lib/pleroma/upload/filter/exiftool/read_description.ex
@@ -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}