Skip to content

Commit

Permalink
Merge pull request #16 from bettyblocks/fix/incorrect-spec
Browse files Browse the repository at this point in the history
fix: incorrect spec for delete function
  • Loading branch information
nulian authored Oct 22, 2024
2 parents 8d9b327 + 2f0d6c1 commit 0f59ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file.ex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ defmodule FileStorageApi.File do
container_name: name of container file is stored in
filename: reference path of the file stored in the container
"""
@spec delete(String.t(), String.t(), atom) :: {:ok, map} | {:error, map}
@spec delete(String.t(), String.t(), atom | map) :: {:ok, map} | {:error, map}
def delete(container_name, filename, connection \\ :default) do
api_module(connection, File).delete(container_name, filename, connection)
end
Expand Down

0 comments on commit 0f59ebe

Please sign in to comment.