Skip to content

Commit

Permalink
Update SiteGen.php
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Aug 13, 2024
1 parent 9a2ba1e commit 1fd1368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/SiteGen/SiteGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public static function generate_site_meta( $site_info, $identifier, $skip_cache
// If the user is a writer or a blogger.
if ( 'blog' === $parsed_response['slug'] ) {
$site_posts = wp_remote_post(
NFD_AI_BASE . 'generateSitePosts',
NFD_AI_BASE . 'generateSiteMeta',
array(
'headers' => array(
'Content-Type' => 'application/json',
Expand All @@ -356,6 +356,7 @@ public static function generate_site_meta( $site_info, $identifier, $skip_cache
array(
'hiivetoken' => HiiveConnection::get_auth_token(),
'prompt' => self::get_prompt_from_info( $site_info ),
'identifier' => "generateSitePosts",
)
),
)
Expand Down

0 comments on commit 1fd1368

Please sign in to comment.