Skip to content

Commit

Permalink
Last fix
Browse files Browse the repository at this point in the history
i
  • Loading branch information
macpie committed Nov 29, 2023
1 parent 7c193ff commit fb0b257
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/device/router_device_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,11 @@ handle_cast(
{dev_eui, router_device:dev_eui(APIDevice)},
{app_eui, router_device:app_eui(APIDevice)},
{devaddrs, DevAddrs},
{metadata, lorawan_rxdelay:maybe_update(APIDevice, Device0)},
{metadata,
maps:merge(
lorawan_rxdelay:maybe_update(APIDevice, Device0),
router_device:metadata(APIDevice)
)},
{is_active, IsActive}
],

Expand Down

0 comments on commit fb0b257

Please sign in to comment.