Skip to content

Commit cfb13dc

Browse files
committed
Also added default ADR when getting single Profile
1 parent 9bfa3c2 commit cfb13dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/chirpstack/device-profile.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export class DeviceProfileService extends GenericChirpstackConfigurationService
136136
];
137137
result.deviceProfile.createdBy = +result.deviceProfile.tags[this.CREATED_BY_KEY];
138138
result.deviceProfile.updatedBy = +result.deviceProfile.tags[this.UPDATED_BY_KEY];
139+
result.deviceProfile.adrAlgorithmID = result.deviceProfile.adrAlgorithmID ? result.deviceProfile.adrAlgorithmID : "default";
139140

140141
result.deviceProfile.tags[this.ORG_ID_KEY] = undefined;
141142
result.deviceProfile.tags[this.CREATED_BY_KEY] = undefined;

0 commit comments

Comments
 (0)