Skip to content

Commit

Permalink
Fix HasMeta->ogType
Browse files Browse the repository at this point in the history
  • Loading branch information
felixgilles committed Aug 2, 2024
1 parent 065b98f commit b84ec35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/HasMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected function ogType(): Attribute
{
return Attribute::make(
get: function () {
return OgType::tryFrom(Arr::get($this->{$this->getMetaColumn()}, 'og_type', $this->getMetaConfig()->defaultOgType))?->value;
return OgType::tryFrom(Arr::get($this->{$this->getMetaColumn()}, 'og_type', $this->getMetaConfig()->defaultOgType->value));
}
);
}
Expand Down

0 comments on commit b84ec35

Please sign in to comment.