Skip to content

Hash syntax error #1871

Open
Open
@Charlie-GH112

Description

I can't figure out how to resolve this syntax error and it's only occurring when using hash.

Code:
{% assign add_auth = hash "Authorization", authorization_header %}

Error:
Liquid syntax error (line 57): Expected end_of_string but found string in "{{hash "Authorization", authorization_header }}"

Thanks in advance whoever helps.

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