diff --git a/x/sqlite/deleteattachment.go b/x/sqlite/deleteattachment.go index f3f404e6a..6c771ff99 100644 --- a/x/sqlite/deleteattachment.go +++ b/x/sqlite/deleteattachment.go @@ -20,7 +20,7 @@ import ( "github.com/go-kivik/kivik/v4/internal" ) -func (d *db) DeleteAttachment(ctx context.Context, docID, filename string, options driver.Options) (string, error) { +func (d *db) DeleteAttachment(ctx context.Context, docID, _ string, options driver.Options) (string, error) { opts := newOpts(options) if rev := opts.rev(); rev == "" { return "", &internal.Error{Status: http.StatusConflict, Message: "conflict"}