Skip to content

Commit 734ea7d

Browse files
authored
fix: error on fetching projects (#268)
Signed-off-by: Ayush Sharma <[email protected]>
1 parent 902cab3 commit 734ea7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/apis/project.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ func CreateProjectRequest(projectName string, cred types.Credentials) (CreatePro
8282
}
8383

8484
type listProjectResponse struct {
85-
Data struct {
85+
Message string `json:"message"`
86+
Data struct {
8687
Projects []struct {
8788
ID string `json:"projectID"` // Adjusted field name
8889
Name string `json:"name"`

0 commit comments

Comments
 (0)