Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amartya-dev committed Jul 4, 2024
1 parent a9127df commit 1c7a515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/SiteGen/SiteGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private static function cache_sitegen_response( $identifier, $response ) {
*/
private static function get_refined_prompt( $prompt ) {
// Try and see if we have the refined propmt already
$refined_propmt = get_option( NFD_SITEGEN_OPTION . '-' . 'refined-prompt', false );
$refined_propmt = get_option( NFD_SITEGEN_OPTION . '-refined-prompt', false );
if ( $refined_propmt ) {
return $refined_propmt;
} else {
Expand All @@ -130,7 +130,7 @@ private static function get_refined_prompt( $prompt ) {
}

$prompt_response = json_decode( wp_remote_retrieve_body( $response ), true );
update_option( NFD_SITEGEN_OPTION . '-' . 'refined-prompt', $prompt_response );
update_option( NFD_SITEGEN_OPTION . '-refined-prompt', $prompt_response );
return $prompt_response;
}
}
Expand Down

0 comments on commit 1c7a515

Please sign in to comment.