mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-07 15:05:23 +02:00
fix(settings): simplify letsEncryptEmail assignment and ensure router rule is always updated with new host
This commit is contained in:
@@ -225,9 +225,7 @@ export const settingsRouter = createTRPCRouter({
|
||||
}
|
||||
const user = await updateUser(ctx.user.ownerId, {
|
||||
host: input.host,
|
||||
...(input.letsEncryptEmail && {
|
||||
letsEncryptEmail: input.letsEncryptEmail,
|
||||
}),
|
||||
letsEncryptEmail: input.letsEncryptEmail,
|
||||
certificateType: input.certificateType,
|
||||
https: input.https,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user