Fix invalid type

lib/pleroma/web/rich_media/parser.ex:105:unknown_type
Unknown type: Integer.t/0.
This commit is contained in:
Mark Felder 2024-01-20 17:16:10 -05:00
parent 467a65af90
commit 09ae0ab24a
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ def ttl(data, url) do
ttl_setters: [MyModule]
"""
@spec set_ttl_based_on_image(map(), String.t()) ::
{:ok, Integer.t() | :noop} | {:error, :no_key}
{:ok, integer() | :noop} | {:error, :no_key}
def set_ttl_based_on_image(data, url) do
case get_ttl_from_image(data, url) do
{:ok, ttl} when is_number(ttl) ->