Skip to content

Commit

Permalink
chore: explicit bool string for prompt fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Sep 18, 2023
1 parent 4b720fb commit e2d7306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/server/class-prompt-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function retrieve_prompts_from_server() {
'site_url' => get_site_url(),
'license_id' => apply_filters( 'product_otter_license_key', 'free' ),
'cache' => gmdate( 'u' ),
'isValid' => boolval( get_option( 'themeisle_open_ai_api_key', false ) ),
'isValid' => boolval( get_option( 'themeisle_open_ai_api_key', false ) ) ? 'true' : 'false',
),
'https://api.themeisle.com/templates-cloud/otter-prompts'
);
Expand Down

0 comments on commit e2d7306

Please sign in to comment.