Skip to content

Commit

Permalink
Merge pull request #467 from helium/update/metadata-service
Browse files Browse the repository at this point in the history
Remove entity_key from /v2/hotspots route in metadata-service
  • Loading branch information
deasydoesit authored Nov 1, 2023
2 parents a5d9721 + 90a5299 commit e0e5bf0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/metadata-service/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ server.get<{ Querystring: { subnetwork: string } }>(

return ktas.map((kta) => {
return {
entity_key: decodeEntityKey(kta.entity_key, {
[kta.keySerialization]: {},
}),
key_to_asset_key: kta.address,
is_active: kta.iot_hotspot_info!.is_active,
};
Expand All @@ -145,9 +142,6 @@ server.get<{ Querystring: { subnetwork: string } }>(
});
return ktas.map((kta) => {
return {
entity_key: decodeEntityKey(kta.entity_key, {
[kta.keySerialization]: {},
}),
key_to_asset_key: kta.address,
is_active: kta.mobile_hotspot_info!.is_active,
device_type: kta.mobile_hotspot_info!.device_type,
Expand Down

0 comments on commit e0e5bf0

Please sign in to comment.