Open adamgyongyosi opened 2 years ago
Hello
I have a big problem
cant detect Translation object edit event because
run: insert event
why insert if already exist?
can i change this update?
symfony: 5.4.3 api-platform: 2.6.8
request body
{ "@context": "/contexts/EmailTemplate", "@id": "/email_templates/1", "@type": "EmailTemplate", "id": 1, "key": "confirmation", "module": "admin", "translations": { "hu": { "@type": "EmailTemplateTranslation", "@id": "_:3955", "id": 29, "locale": "hu", "name": "email_template.confirmation.name", "subject": "email_template.confirmation.subject", "content": "<p>email_template.confirmation.content33333</p>", "tags": [] }, "en": { "@type": "EmailTemplateTranslation", "@id": "_:3957", "id": 30, "locale": "en", "name": "email_template.confirmation.name", "subject": "email_template.confirmation.subject", "content": "email_template.confirmation.content", "tags": [] } }, "name": "email_template.confirmation.name", "subject": "email_template.confirmation.subject", "content": "<p>email_template.confirmation.content22222</p>" }
Hello
I have a big problem
cant detect Translation object edit event because
run: insert event
why insert if already exist?
can i change this update?
symfony: 5.4.3 api-platform: 2.6.8
request body