Skip to content

Commit

Permalink
refactor: add a newline after second if block
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Feb 2, 2024
1 parent 207ef92 commit c44a2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -1810,8 +1810,8 @@ func (s *Session) ChannelMessageEditComplex(m *MessageEdit, options ...RequestOp
}
}
}
endpoint := EndpointChannelMessage(m.Channel, m.ID)

endpoint := EndpointChannelMessage(m.Channel, m.ID)
var response []byte
if len(m.Files) > 0 {
contentType, body, encodeErr := MultipartBodyWithJSON(m, m.Files)
Expand Down

0 comments on commit c44a2c1

Please sign in to comment.