Skip to content

API return types use camel case but results are in snake caseΒ #4

@ctusch

Description

@ctusch

When I run const result = await client.users.getMe({ userFields: ["profile_image_url"] }); the typed API result.data.profileImageUrl is undefined. When inspecting the object the actual value is in result.data.profile_image_url.

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