From 3addf9c21e7217d01bd36772f7bd24086949566e Mon Sep 17 00:00:00 2001 From: colin <98445953+colinmccloskey@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:11:14 -0500 Subject: [PATCH] Remove nullable optional --- src/main/java/com/meta/cp4m/message/FBMessengerConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/meta/cp4m/message/FBMessengerConfig.java b/src/main/java/com/meta/cp4m/message/FBMessengerConfig.java index f0746bd..dc47a47 100644 --- a/src/main/java/com/meta/cp4m/message/FBMessengerConfig.java +++ b/src/main/java/com/meta/cp4m/message/FBMessengerConfig.java @@ -79,7 +79,7 @@ public String pageAccessToken() { return pageAccessToken; } - public @Nullable Optional connectedFacebookPageForInstagram() { + public Optional connectedFacebookPageForInstagram() { return Optional.ofNullable(connectedFacebookPageForInstagram); } } \ No newline at end of file