Skip to content

[StatusPage] page_get_templates() wrong url #1231

Closed
@rschre

Description

@rschre

Currently the method page_get_templates of the StatusPage class raises an HTTP-error, no matter what you do.
I figure this is because of the line 1559 in statuspage.py where the url is defined as url = "v1/pages/{}/templates".format(page_id).

I managed to fix this for myself by changing the line to url = "v1/pages/{}/incident_templates".format(page_id).

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