Skip to content

Commit

Permalink
default empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Feb 27, 2025
1 parent eaac9a1 commit c1b649e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Git_Updater/API/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ protected function set_file_info( $response ) {
*/
protected function add_meta_repo_object() {
$this->type->last_updated = $this->type->repo_meta['last_updated'];
$this->type->added = $this->type->repo_meta['added'] ?? null;
$this->type->added = $this->type->repo_meta['added'] ?? '';
$this->type->is_private = $this->type->repo_meta['private'];
}

Expand Down

0 comments on commit c1b649e

Please sign in to comment.