From 5b64fed9a78da5aada127b425f6817ca107e01e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B4natas=20Santos?= Date: Wed, 11 Dec 2024 11:36:21 -0300 Subject: [PATCH] Make `role` attribute optional on directorysync.models.User. (#259) --- src/main/kotlin/com/workos/directorysync/models/User.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/workos/directorysync/models/User.kt b/src/main/kotlin/com/workos/directorysync/models/User.kt index c0d586b7..b685ed8c 100644 --- a/src/main/kotlin/com/workos/directorysync/models/User.kt +++ b/src/main/kotlin/com/workos/directorysync/models/User.kt @@ -79,7 +79,7 @@ open class User @JvmField @JsonProperty("role") - val role: DirectoryUserRole, + val role: DirectoryUserRole?, @JvmField @JsonProperty("custom_attributes")