Spaces:
Paused
Paused
Commit
·
448812c
1
Parent(s):
07a65cb
Revert "fixup! ♿️ No-JS ethics modal (#166)"
Browse filesThis reverts commit 0a9fc1657d982699db2a7188f879d9300d492f4e.
src/routes/settings/+page.server.ts
CHANGED
|
@@ -17,10 +17,8 @@ export const actions = {
|
|
| 17 |
ethicsModalAccepted: z.boolean({ coerce: true }).optional(),
|
| 18 |
})
|
| 19 |
.parse({
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
formData.get("shareConversationsWithModelAuthors") ?? undefined,
|
| 23 |
-
ethicsModalAccepted: formData.get("ethicsModalAccepted") ?? undefined,
|
| 24 |
});
|
| 25 |
|
| 26 |
await collections.settings.updateOne(
|
|
|
|
| 17 |
ethicsModalAccepted: z.boolean({ coerce: true }).optional(),
|
| 18 |
})
|
| 19 |
.parse({
|
| 20 |
+
shareConversationsWithModelAuthors: formData.get("shareConversationsWithModelAuthors"),
|
| 21 |
+
ethicsModalAccepted: formData.get("ethicsModalAccepted"),
|
|
|
|
|
|
|
| 22 |
});
|
| 23 |
|
| 24 |
await collections.settings.updateOne(
|