SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
140 stars 85 forks source link

Callsign Example Incorrect #1883

Closed JemmaSinclair closed 8 months ago

JemmaSinclair commented 8 months ago

What version of Node.js are you using?

18.19.0

What operating system are you using?

Ubuntu 20.04

What version of SnailyCAD are you currently using?

1.78.4

Describe the Bug

The callsign variables gives {callsign} for callsign 1, but this does not work. {callsign1} does in fact work.

Expected Behavior

The variables to be accurate (this seems a bit aggressive i just needed to put something for this required field).

To Reproduce

No response

casperiv0 commented 8 months ago

I've updated the template to use callsign1 since that's more correct. However, I've also added support for using callsign which will resolve to callsign1.