We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0259b03 commit d540c1fCopy full SHA for d540c1f
src/Supervisor.php
@@ -181,6 +181,8 @@ private function api_callback(
181
return $package_info;
182
}
183
184
- return (object) $updater->get_update_data( $args->slug, array( $args->locale ?? \get_locale() ) );
+ $result = $updater->get_update_data( $args->slug, array( $args->locale ?? \get_locale() ) );
185
+
186
+ return $result ? (object) $result : $package_info;
187
188
0 commit comments