Skip to content

Commit e2d7306

Browse files
chore: explicit bool string for prompt fetching
1 parent 4b720fb commit e2d7306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/server/class-prompt-server.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function retrieve_prompts_from_server() {
217217
'site_url' => get_site_url(),
218218
'license_id' => apply_filters( 'product_otter_license_key', 'free' ),
219219
'cache' => gmdate( 'u' ),
220-
'isValid' => boolval( get_option( 'themeisle_open_ai_api_key', false ) ),
220+
'isValid' => boolval( get_option( 'themeisle_open_ai_api_key', false ) ) ? 'true' : 'false',
221221
),
222222
'https://api.themeisle.com/templates-cloud/otter-prompts'
223223
);

0 commit comments

Comments
 (0)