feat(csms): 添加 OCPP 鉴权
This commit is contained in:
@@ -73,7 +73,7 @@ export async function handleStartTransaction(
|
||||
if (rejected) {
|
||||
await db
|
||||
.update(connector)
|
||||
.set({ status: "Available", updatedAt: now })
|
||||
.set({ status: "Available", updatedAt: now.toDate() })
|
||||
.where(eq(connector.id, conn.id));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user