TS fixes
This commit is contained in:
@@ -53,6 +53,7 @@ export default async function emailAsUserRoutes(server: FastifyInstance) {
|
||||
|
||||
await server.db
|
||||
.update(userCredentials)
|
||||
//@ts-ignore
|
||||
.set(saveData)
|
||||
.where(eq(userCredentials.id, id))
|
||||
|
||||
@@ -79,6 +80,7 @@ export default async function emailAsUserRoutes(server: FastifyInstance) {
|
||||
imapSsl: body.imap_ssl,
|
||||
}
|
||||
|
||||
//@ts-ignore
|
||||
await server.db.insert(userCredentials).values(insertData)
|
||||
|
||||
return reply.send({ success: true })
|
||||
|
||||
Reference in New Issue
Block a user