Skip to content

Commit 9bfa3c2

Browse files
committed
Added default for device profiles
1 parent 91d299c commit 9bfa3c2

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
@@ -119,6 +119,7 @@ export class DeviceProfileService extends GenericChirpstackConfigurationService
119119
x.internalOrganizationId = +dp.deviceProfile.internalOrganizationId;
120120
x.createdBy = +dp.deviceProfile.createdBy;
121121
x.updatedBy = +dp.deviceProfile.updatedBy;
122+
x.adrAlgorithmID = x.adrAlgorithmID ? x.adrAlgorithmID : "default";
122123
})
123124
);
124125

0 commit comments

Comments
 (0)