From a8e7d668b14ebd90af0f613e1ed29fccb8d09dfa Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Thu, 19 Oct 2023 18:46:08 +0530 Subject: [PATCH] fix: typo --- .../pluginInterface/multitenancy/ThirdPartyConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/supertokens/pluginInterface/multitenancy/ThirdPartyConfig.java b/src/main/java/io/supertokens/pluginInterface/multitenancy/ThirdPartyConfig.java index a100096f..d77a3e75 100644 --- a/src/main/java/io/supertokens/pluginInterface/multitenancy/ThirdPartyConfig.java +++ b/src/main/java/io/supertokens/pluginInterface/multitenancy/ThirdPartyConfig.java @@ -152,7 +152,7 @@ public JsonObject toJson() { JsonObject result = new Gson().toJsonTree(this).getAsJsonObject(); // These properties need to retain null values when serialized - if (this.authorizationEndpoint != null) { + if (this.authorizationEndpointQueryParams != null) { result.add("authorizationEndpointQueryParams", new GsonBuilder().serializeNulls().create().toJsonTree(this.authorizationEndpointQueryParams)); } else {