O'Neil Tomlinson
O'Neil Tomlinson

Reputation: 898

LogicApp liquid transform using minus operator

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

Answers (1)

O'Neil Tomlinson
O'Neil Tomlinson

Reputation: 898

Found the problem. It should be uppercase "M" in minus

{
   "totalCount": {{15 | Minus:1 }} 
}

Upvotes: 2

Related Questions