summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2023-12-12 11:09:54 +0400
committerLain Soykaf <lain@lain.com>2023-12-12 11:09:54 +0400
commit228966e6dd1bd4a01d0c01609d9f6ad2279d278f (patch)
tree634752708322e935fcc78e5dc4ba689a526d4284
parent18ab36d70c0b1304855a9ed4626c04a4ef23a242 (diff)
downloadpleroma-228966e6dd1bd4a01d0c01609d9f6ad2279d278f.tar.gz
pleroma-228966e6dd1bd4a01d0c01609d9f6ad2279d278f.zip
Exiftool.ReadDescription: Remove wrong spec.
-rw-r--r--lib/pleroma/upload/filter/exiftool/read_description.ex2
1 files 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
index 543b22031..8c1ed82f8 100644
--- 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}