Skip to content

Commit

Permalink
Merge branch '1' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Apr 27, 2023
2 parents da10c99 + 14b1fd3 commit d0a95ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
2 changes: 1 addition & 1 deletion src/GraphQL/Resolvers/VersionedResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function resolveVersionFields(DataObject $obj, array $args, array
case 'publisher':
return $obj->Publisher();
case 'published':
return $obj->isPublished();
return $obj->WasPublished;
case 'draft':
return $obj->WasDraft;
case 'deleted':
Expand Down

0 comments on commit d0a95ef

Please sign in to comment.