Skip to content

Commit

Permalink
Merge pull request #209 from re-connect/feature/fix-dropdowns
Browse files Browse the repository at this point in the history
🐛 [Dropdowns] Fix mapping on ParticipantKind causing 500 error on dropdowns endpoint
  • Loading branch information
NilsRec authored May 14, 2024
2 parents c58e38d + 1ab8ad8 commit f0d6d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/ParticipantKind.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ParticipantKind implements \Stringable
private ?string $name = null;

/** @var Collection<int, Workshop> */
#[ORM\ManyToMany(targetEntity: Workshop::class, mappedBy: 'participantKind')]
#[ORM\ManyToMany(targetEntity: Workshop::class, mappedBy: 'participantKinds')]
private Collection $workshops;

public function __construct()
Expand Down

0 comments on commit f0d6d85

Please sign in to comment.