Skip to content

Commit 2e2c185

Browse files
Update codersdk/files.go
Co-authored-by: Bryan <bryan@coder.com>
1 parent 70cdcf4 commit 2e2c185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codersdk/files.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (c *Client) UploadFile(ctx context.Context, contentType string, content []b
2929
return resp, json.NewDecoder(res.Body).Decode(&resp)
3030
}
3131

32-
// DownloadURL returns
32+
// DownloadURL returns the download URL for the specified asset
3333
func (c *Client) DownloadURL(asset string) (*url.URL, error) {
3434
return c.URL.Parse(fmt.Sprintf("/api/v2/downloads/%s", asset))
3535
}

0 commit comments

Comments
 (0)