Skip to content

I can't retrieve my runs from the API #38

@hannahgooding

Description

@hannahgooding

I posted a few runs and I can't make a GET request for them from user/runs/ with my access token.

You've set up getAllMyRuns(id) {} function to take an id as the parameter, but you are sending the undefined from your getAllMyRuns handler because data.user on line 19 is undefined. You need a bit more logic to retrieve the user id you send with the access token when the user logs in. Wish I knew how!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions