Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
begelundmuller committed Dec 23, 2024
1 parent 8e04105 commit 0d28cfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/urls.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (u *URLs) GithubRetryAuthUI(remote, username string) string {

// Asset creates a URL for downloading the user-uploaded asset with the given ID.
func (u *URLs) Asset(assetID string) string {
return urlutil.MustJoinURL(u.External(), "/v1/assets", assetID)
return urlutil.MustJoinURL(u.External(), "/v1/assets", assetID, "download")
}

// Embed creates a URL for embedding the frontend in an iframe.
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/org/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ func OrgCmd(ch *cmdutil.Helper) *cobra.Command {

orgCmd.AddCommand(CreateCmd(ch))
orgCmd.AddCommand(EditCmd(ch))
orgCmd.AddCommand(UploadLogoCmd(ch))
orgCmd.AddCommand(SwitchCmd(ch))
orgCmd.AddCommand(ListCmd(ch))
orgCmd.AddCommand(ShowCmd(ch))
orgCmd.AddCommand(DeleteCmd(ch))
orgCmd.AddCommand(RenameCmd(ch))
orgCmd.AddCommand(UploadLogoCmd(ch))

return orgCmd
}
Expand Down

0 comments on commit 0d28cfe

Please sign in to comment.