Skip to content

Commit 75e7891

Browse files
committed
fix(device-client): fix device profile query type
1 parent 91d5ce0 commit 75e7891

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/soft-moose-read.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@forgerock/device-client': patch
3+
---
4+
5+
Makes `realm` optional in device profile query

packages/device-client/src/lib/types/profile-device.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* of the MIT license. See the LICENSE file for details.
66
*/
77
export interface GetProfileDevices {
8-
realm: string;
8+
realm?: string;
99
userId: string;
1010
}
1111

0 commit comments

Comments
 (0)