networkinssch
WWasp
•Created by networkinssch on 3/3/2024 in #đŸ™‹questions
Add a new entity into the saas template
I copied Task and gave it a new name (=workflow).
Now it fails during the wasp db migrate-dev.
It has a problem with the new action CreateWorkflow with the data object. It seems to miss some of the new fields like workflowname.
Where do I need to adjust that ?
Error message:
Type '{ workflowname: string; user: { connect: { id: number; }; }; }' is missing the following properties from type 'WorkflowCreateInput': description, lastrunAt
9 replies
WWasp
•Created by networkinssch on 2/26/2024 in #đŸ™‹questions
Hi, how do you add authorization ?
After authentication it should be checked if e.g. a user has admin role to access an admin dashboard.
3 replies