I am building a webpage in a bug tracker project where a user can view certain types of tickets in a graph after logging in. I am retrieving these tickets by making an api call