Skip to content

Commit

Permalink
fix: error on fetching projects (#268)
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Sharma <[email protected]>
  • Loading branch information
ayush3160 authored Jan 21, 2025
1 parent 902cab3 commit 734ea7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/apis/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ func CreateProjectRequest(projectName string, cred types.Credentials) (CreatePro
}

type listProjectResponse struct {
Data struct {
Message string `json:"message"`
Data struct {
Projects []struct {
ID string `json:"projectID"` // Adjusted field name
Name string `json:"name"`
Expand Down

0 comments on commit 734ea7d

Please sign in to comment.