Skip to content

Create tileset source throws error in v0.16 #486

Description

@MatejSkrbis

I tried upgrading the library from v0.13.4 to v0.16.0

When calling this code to create a tileset source in v0.13.4 it works, but in v0.16.0 it throws an error:

const tileSourceResponse = await this.tilesets.createTilesetSource({
    id: sourceId,
    file: `./${id}.ldgeojson`
}).send();

Error is:
No file data in request. Expected 1 file named \"file\".

Activity

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

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