Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 856f17d

Browse files
committed
Fix icon required
1 parent 2d5261f commit 856f17d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codersdk/workspaceapps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ type WorkspaceApp struct {
1111
Command string `json:"command,omitempty"`
1212
// Icon is a relative path or external URL that specifies
1313
// an icon to be displayed in the dashboard.
14-
Icon string `json:"icon"`
14+
Icon string `json:"icon,omitempty"`
1515
}

site/src/api/typesGenerated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export interface WorkspaceApp {
426426
readonly id: string
427427
readonly name: string
428428
readonly command?: string
429-
readonly icon: string
429+
readonly icon?: string
430430
}
431431

432432
// From codersdk/workspacebuilds.go:24:6

0 commit comments

Comments
 (0)