Webhook event schema not matching the actual event [#92082]

I am facing a situation while disconnecting the app from gmail and the corresponding grant.expired event of the webhook, It’s not returning the required login_id which is crucial for our business logic.
Strangely enough this field is provided in the schema of this webhook event which is kind of an anomaly.

Ref: Notification schemas | Nylas Docs

Any help on this please.

Using nylas v3

Hello @Deeptanshu I’m checking with the team and will get back to you as soon as possible

@Deeptanshu You should use grant_id instead of login_id. We’re going to update the docs to remove the mention of login_id (which was removed as it was a redundant value).