Setup
Config.Defaults = {
registrationStatus = 'Valid'
}This table helps to set Default values in certain functions.
registrationStatus - License Type when registering new Vehicle or Weapon
Config.API = {
URL = 'api_url',
TOKEN = 'token',
TOKEN_HEADER_NAME = 'snaily-cad-api-token',
}URL - Link on which your CAD is hosted (example: https://api.your-domain-here/v1/ or https://api-test.your-domain-here/v1/)
TOKEN - You can find this Token in your CAD Settings (Admin > CAD Settings > API Token)
Last updated