Closed aagamLF closed 1 year ago
After speaking with @aagamLF about this further, this appears to have been a misunderstanding with the shape of the responses between v3 -> v4. In v3, responses are wrapped in a params
property whereas in v4, they are flattened out. If this is still an issue or if there is anything else holding this back, please feel welcome to re-open this issue. Thanks!
Hi,
I am trying to implement a afterCreate / afterUpdate trigger function on separate collection which has mux asset as a related collection in Strapi v3 controllers which would essentially set a flag in the Mux asset collection to true when called. Here's the code of what I am trying to do:
Here's the error message we are seeing:
I know that updating mux asset collection is not recommended. We have fixed that issue with our Strapi v4 implementation and will be launched soon. However, our current beta soft launch is going to be with Strapi v3 and this fix is essential for fixing an important bug.
Please guide us on what we might be missing in the code here.
Strapi: v3.6.8 strapi-plugin-mux-video-uploader: v1.2.0 local environment DB: sqlite v5.0.0 deployed environment DB: Postgres SQL v13.7
Thanks