Fix types in getProjects