Skip to content

API does not use divstyles when using GET/POST method #6

@appblue

Description

@appblue

I've looked at the code and in my opinion the problem lies in main.py in line no 85:

divstyles = request.form.get('divstyles', get_default_style())

it should be

divstyles = request.values.get('divstyles', get_default_style())

On webpage it works, because you use also value for divstyles stored in cookie, but it's not the case when using API

Best Regards,
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions