We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce9b931 + 5b7e531 commit 05daca6Copy full SHA for 05daca6
1 file changed
apps/app/src/app/api/retool/reset-org/route.ts
@@ -79,6 +79,12 @@ export async function POST(request: NextRequest) {
79
db.frameworkInstance.deleteMany({
80
where: { organizationId },
81
}),
82
+ db.onboarding.update({
83
+ where: { organizationId },
84
+ data: {
85
+ completed: false,
86
+ },
87
+ }),
88
]);
89
90
return NextResponse.json({
0 commit comments