fix: emails used for recovery only, not notifications (notifications coming later)
This commit is contained in:
@@ -36,7 +36,7 @@ export const account = new Elysia({ prefix: "/account" })
|
||||
};
|
||||
}, {
|
||||
body: t.Object({
|
||||
email: t.Optional(t.String({ format: "email", description: "Optional. Used for recovery and alerts." })),
|
||||
email: t.Optional(t.String({ format: "email", description: "Optional. Used for account recovery only." })),
|
||||
}),
|
||||
detail: { summary: "Create account", tags: ["account"] },
|
||||
})
|
||||
@@ -51,7 +51,7 @@ export const account = new Elysia({ prefix: "/account" })
|
||||
return { ok: true };
|
||||
}, {
|
||||
body: t.Object({
|
||||
email: t.Optional(t.String({ description: "Email for recovery and notifications" })),
|
||||
email: t.Optional(t.String({ description: "Email for account recovery only." })),
|
||||
}),
|
||||
detail: { summary: "Update account email", tags: ["account"] },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user