NovuN
Novu2y ago
Tam

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)

And I keep getting the error "email must be an email" even though there is no parameter for email in the method interface.
Was this page helpful?