Gateway ID is not correct

I found that the GatewayID in the JoinAccept message is not correct:
Maybe this is related to this change #576?

Additionally, the gateway ID is always ‘null’ in the device_txack table of the postgres integration (chirpstack_as_events):

    "board": 0,
    "power": 27,
    "timing": "DELAY",
    "antenna": 1,
    "context": "DbrPNA==",
    "frequency": 869525000,
    "gatewayID": null,
    "modulation": "LORA",
    "delayTimingInfo": {
        "delay": "2s"
    "loRaModulationInfo": {
        "codeRate": "4/5",
        "bandwidth": 125,
        "spreadingFactor": 12,
        "polarizationInversion": true

This was resolved in this change #606