project-error / npwd

NPWD is a FiveM phone resource written entirely in TypeScript and React.
https://projecterror.dev
Other
336 stars 277 forks source link

feat/middleware - Expose the receiverNumber during the onCall callback middleware #1119

Closed tofudeadeye closed 5 months ago

tofudeadeye commented 5 months ago

Pull Request Description

In certain cases you want to know the receiving number configured within the scope of the onCall middleware callback. This exposes the "receiverNumber" so it would be accessible within the callback as ctx.receiverNumber.

Pull Request Checklist:

itschip commented 5 months ago

LGTM! Thanks!