Reputation: 898
I have a Liquid transform JSON-JSON. I have the following:
{
"totalCount": {{15 | minus:1 }}
}
But i'm getting
"totalCount": 15
and not
"totalCount": 14
What am i doing wrong here?
Upvotes: 0
Views: 194
Reputation: 898
Found the problem. It should be uppercase "M" in minus
{
"totalCount": {{15 | Minus:1 }}
}
Upvotes: 2