diff --git a/includes/RestApi/FlowController.php b/includes/RestApi/FlowController.php index e1f676dec..f64209330 100644 --- a/includes/RestApi/FlowController.php +++ b/includes/RestApi/FlowController.php @@ -110,7 +110,7 @@ public function get() { public function save_onboarding_flow_data( \WP_REST_Request $request ) { $params = json_decode( $request->get_body(), true ); - update_option( Options::get_option_name( 'redirect' ), false ); + update_option( Options::get_option_name( 'redirect' ), '0' ); $flow_data = FlowService::update_data( $params ); if ( is_wp_error( $flow_data ) ) {