We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffa7ab8 commit befcf31Copy full SHA for befcf31
1 file changed
includes/api/class-utils.php
@@ -74,7 +74,7 @@ public static function update_chatgpt_settings( \WP_REST_Request $request ): arr
74
}
75
76
$encryptor = new Encryption();
77
- $encrypted_api_key = $encryptor->encrypt( $body['api_key'] ?? $current['api_key'] ?? '' );
+ $encrypted_api_key = $encryptor->encrypt( $body['api_key'] ?? '' );
78
79
$update = update_option(
80
'gutenberg_native_ai',
0 commit comments