Skip to content

Commit 3f0fde0

Browse files
committed
Fix
1 parent d2d2375 commit 3f0fde0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/gitpod-protocol/go/gitpod-service.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ func (gp *APIoverJSONRPC) CreateProject(ctx context.Context, options *CreateProj
15401540
return
15411541
}
15421542
_params := []interface{}{options}
1543-
err = gp.C.Call(ctx, string(FunctionCreateProject), _params, nil)
1543+
err = gp.C.Call(ctx, string(FunctionCreateProject), _params, &res)
15441544
return
15451545
}
15461546

@@ -1560,7 +1560,7 @@ func (gp *APIoverJSONRPC) GetUserProjects(ctx context.Context) (res []*Project,
15601560
return
15611561
}
15621562
_params := []interface{}{}
1563-
err = gp.C.Call(ctx, string(FunctionGetUserProjects), _params, nil)
1563+
err = gp.C.Call(ctx, string(FunctionGetUserProjects), _params, &res)
15641564
return
15651565
}
15661566

@@ -1570,7 +1570,7 @@ func (gp *APIoverJSONRPC) GetTeamProjects(ctx context.Context, teamID string) (r
15701570
return
15711571
}
15721572
_params := []interface{}{teamID}
1573-
err = gp.C.Call(ctx, string(FunctionGetTeamProjects), _params, nil)
1573+
err = gp.C.Call(ctx, string(FunctionGetTeamProjects), _params, &res)
15741574
return
15751575
}
15761576

0 commit comments

Comments
 (0)