Skip to content

Commit

Permalink
Fix MentionParser
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragchhatrala committed Oct 17, 2024
1 parent 4c19d66 commit 5ffec25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/Open/MentionParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private function replaceMentions()

private function getData($fieldId)
{
$value = collect($this->data)->firstWhere('nf_id', $fieldId)['value'] ?? null;
$value = collect($this->data)->firstWhere('id', $fieldId)['value'] ?? null;

if (is_object($value)) {
return (array) $value;
Expand Down

0 comments on commit 5ffec25

Please sign in to comment.