Tam
Tam
NNovu
Created by Tam on 5/30/2024 in #💬│support
Getting "email must be email" error when using apiService.initializeSession
Hi i'm using the ApiService from @novu/client package. The code is somewhat like:
import { ApiService } from "@novu/client"
const api = new ApiService("http://...")
await api.initializeSession(subscriberId, appId)
import { ApiService } from "@novu/client"
const api = new ApiService("http://...")
await api.initializeSession(subscriberId, appId)
And I keep getting the error "email must be an email" even though there is no parameter for email in the method interface.
10 replies
NNovu
Created by Tam on 5/28/2024 in #💬│support
Step condition by comparing a payload field with a subscriber field
Hi everyone, I'm trying to add a step condition to only perform a step if a payload field value matches a subscriberId. The condition creation UI only allows comparing with a literal not a system variable. What should I do to achieve that. Thank you in advance!
6 replies