Skip to content

The Repo Labels update method is incorrect #859

@bobeagan

Description

@bobeagan

if (!isset($params['name'], $params['color'])) {

The actual parameter should be "new_name" and all parameters are optional to include.
https://developer.github.com/v3/issues/labels/#parameters-1

Additionally, the Repo Labels appears to be missing a related documentation page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions