Wrong types for projectId
#352
Labels
bug
Indicates a reported issue or malfunction that needs fixing.
good first issue
Highlights beginner-friendly tasks, ideal for those looking to contribute for the first time.
Milestone
Trying out
![image](https://private-user-images.githubusercontent.com/10322643/402847495-692748c1-8838-485a-af3b-92989c94132a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDg0ODMsIm5iZiI6MTczOTAwODE4MywicGF0aCI6Ii8xMDMyMjY0My80MDI4NDc0OTUtNjkyNzQ4YzEtODgzOC00ODVhLWFmM2ItOTI5ODljOTQxMzJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA5NDk0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2N2U3NzUyOWVlYzg2OTZkNmY0ZmI5N2I4MDc3OTM1OGFhYzlmOTFiYWJjMWY3ZTU1NDkyYWIzOWE5OTA3NWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OchPTW17WnxM5GurBsHykxSc6UoIQUSpybH3n21pnn0)
projects.getHierarchy({projectId: '')
I've noticed that you expect a number here, but theproject.id
type is a string and it seems that's correct based on the project result:There seem to be several places where
projectId
is considered a number (in your v3 implementation):Maybe they are all wrong here.
And for some reason only two places for
projectIdOrKey
think this can be a number:The text was updated successfully, but these errors were encountered: