Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Nov 9, 2024
1 parent f181cc2 commit 3c50b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exports.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (mg *MailgunImpl) GetExportLink(ctx context.Context, id string) (string, er

resp, err := r.Client.Do(req)
if err != nil {
if resp != nil { // TODO(vtopc): nil err and not nil resp, is that possible at all?
if resp != nil { // TODO(vtopc): not nil err and resp at the same time, is that possible at all?
defer resp.Body.Close()

if resp.StatusCode == http.StatusFound {
Expand Down

0 comments on commit 3c50b4a

Please sign in to comment.