Skip to content

Unsafe cast to User #375

@cloudify

Description

@cloudify

I've noticed that in packages/pn-pa-webapp/src/api/auth/Auth.api.ts the payload returned by the backend gets cast to the User type, this is usually unsafe as there's no guarantee the payload is consistent with the type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions