mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
revert schema change
This commit is contained in:
parent
31bc90f381
commit
49554ca03d
@ -497,7 +497,7 @@ it("verifies email_theme update persists", async ({ expect }) => {
|
||||
expect(response.body.config.email_theme).toBe("a0172b5d-cff0-463b-83bb-85124697373a"); // default-dark
|
||||
});
|
||||
|
||||
it.only("gives an error when updating email_theme with an invalid value", async ({ expect }) => {
|
||||
it("gives an error when updating email_theme with an invalid value", async ({ expect }) => {
|
||||
await Project.createAndSwitch();
|
||||
|
||||
const response = await niceBackendFetch("/api/v1/internal/projects/current", {
|
||||
|
||||
@ -364,7 +364,7 @@ export const emailPasswordSchema = passwordSchema.meta({ openapiField: { descrip
|
||||
// Project domain config
|
||||
export const handlerPathSchema = yupString().test('is-handler-path', 'Handler path must start with /', (value) => value?.startsWith('/')).meta({ openapiField: { description: 'Handler path. If you did not setup a custom handler path, it should be "/handler" by default. It needs to start with /', exampleValue: '/handler' } });
|
||||
// Project email theme config
|
||||
export const emailThemeSchema = yupString().uuid().meta({ openapiField: { description: 'Email theme id for the project. Determines the visual style of emails sent by the project.' } });
|
||||
export const emailThemeSchema = yupString().meta({ openapiField: { description: 'Email theme id for the project. Determines the visual style of emails sent by the project.' } });
|
||||
export const emailThemeListSchema = yupRecord(
|
||||
yupString().uuid(),
|
||||
yupObject({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user