Skip to content

Some commands returns hardcoded www.feishu.cn instead of tenant-specific domain, howerver some commands don't #925

@meloalright

Description

@meloalright

These commands hardcode the result domain.

Command URL returned
wiki +node-create https://www.feishu.cn/wiki/...
drive +upload https://www.feishu.cn/file/...
markdown +create https://www.feishu.cn/file/...
docs +create (v1 fallback) https://www.feishu.cn/docx/...

These commands know the correct tenant domain.

Command URL returned
drive +create-folder https://<tenant>.larkoffice.com/drive/folder/...
sheets +create https://<tenant>.larkoffice.com/sheets/...
slides +create https://<tenant>.larkoffice.com/slides/...
base +base-create https://<tenant>.larkoffice.com/base/...

that is weird, and relative to #810

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions