style: ran gofmt

This commit is contained in:
Dan Anglin 2024-08-02 13:04:40 +01:00
parent 2ccfdc4336
commit cb7ac4175d
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
2 changed files with 6 additions and 6 deletions

View file

@ -17,11 +17,11 @@ func (g *Client) GetMediaAttachment(mediaAttachmentID string) (model.Attachment,
var attachment model.Attachment
params := requestParameters{
httpMethod: http.MethodGet,
url: url,
httpMethod: http.MethodGet,
url: url,
requestBody: nil,
contentType: "",
output: &attachment,
output: &attachment,
}
if err := g.sendRequest(params); err != nil {

View file

@ -36,11 +36,11 @@ func (g *Client) Register() error {
var app model.Application
requestParams := requestParameters{
httpMethod: http.MethodPost,
url: url,
httpMethod: http.MethodPost,
url: url,
requestBody: requestBody,
contentType: applicationJSON,
output: &app,
output: &app,
}
if err := g.sendRequest(requestParams); err != nil {