Skip to content

Commit d6ad43b

Browse files
Forward status when forcing regeneration
1 parent b5d3223 commit d6ad43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Integrations/POSCatalog/AsyncGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function force_regeneration( ?array $args = null ): array {
203203
// Delete the existing file, clear the option and let generation start again.
204204
wp_delete_file( $status['path'] );
205205
delete_option( $option_key );
206-
return $this->get_status();
206+
return $this->get_status( $args );
207207

208208
default:
209209
throw new \Exception( 'Unknown feed generation state.' );

0 commit comments

Comments
 (0)