feat: switch to new dialog across all code
This commit is contained in:
parent
0f75636342
commit
741f9aa6b5
24 changed files with 833 additions and 1196 deletions
|
|
@ -49,7 +49,12 @@ export async function action({ request }: ActionFunctionArgs) {
|
|||
return data({ success: false }, { status: 403 });
|
||||
}
|
||||
|
||||
const patch = (await request.json()) as Record<string, unknown>;
|
||||
const textData = await request.text();
|
||||
if (!textData) {
|
||||
return data({ success: true });
|
||||
}
|
||||
|
||||
const patch = JSON.parse(textData) as Record<string, unknown>;
|
||||
await patchConfig(patch);
|
||||
|
||||
if (context.integration?.onConfigChange) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue