You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the API would use the licenseId set in the editor (in the serlo-template-plugins).
Proposed Solution
We need to parse the entity content (outermost plugin) and retrieve and use the licenseId if there is one. Otherwise falling back to default like before is fine.
The text was updated successfully, but these errors were encountered:
What is wrong?
Currently the API always uses the default license when creating new entities:
https://github.com/serlo/api.serlo.org/blob/staging/packages/server/src/schema/uuid/abstract-entity/entity-set-handler.ts#L151
How should it behave?
It would be nice if the API would use the
licenseId
set in the editor (in the serlo-template-plugins).Proposed Solution
We need to parse the entity content (outermost plugin) and retrieve and use the
licenseId
if there is one. Otherwise falling back to default like before is fine.The text was updated successfully, but these errors were encountered: