I integrated my application with Session auth. now I am going to create trigger its work fine. But the problem which I face is, want to apply condition that the value return only when type is 3.
Should I do this in code? As in image I want to apply “item[“type”] = 3” in response.
Best answer by ikbelkirasanView original
@Harshida - The way it’s written isn’t a valid JS syntax. Here’s how it should be:
Thanks for your response but I got the solution
I apply the condition this way and I got the result.
You could do it directly like this without the .map function since it doesn’t add anything to the items.
@ikbelkirasan yes its work fine when apply this. Before to apply filtration I got the error for Id so I apply “map” on my response.
thank you so much