Skip to content

Wrong type definition in the createWithUserID and createWithGroupID functions #832

Description

@yaelsch

Description of the Issue

I'm upgrading my SDK version to "3.0.0" and noticed that the type definition of userId in client.collaborations.createWithUserID and groupId in client.collaborations.createWithGroupID is set to number although in the rest of the code it is set to string (e.g. groups.addUser)

Steps to Reproduce

Simply try to call these functions with a string and you get a TS error

Expected Behavior

Screenshots

image

Versions Used

Node SDK: "3.0.0"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions