Skip to content

Commit

Permalink
Fix typo in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Krogemann committed Jun 5, 2017
1 parent 73cd0c8 commit ef00690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/couchdb_connector/url_helper.ex
Expand Up @@ -47,8 +47,8 @@ defmodule Couchdb.Connector.UrlHelper do
@doc """
Produces the URL to a specific document attachment contained in given database.
"""
@spec attchment_url(Types.db_properties, String.t, String.t) :: String.t
def attchment_url db_props, doc_id, att_name do
@spec attachment_url(Types.db_properties, String.t, String.t) :: String.t
def attachment_url db_props, doc_id, att_name do
"#{database_server_url(db_props)}/#{db_props[:database]}/#{doc_id}/#{att_name}"
end

Expand Down

0 comments on commit ef00690

Please sign in to comment.