Adding result restore endpoint.

This commit is contained in:
charles-gauthereau
2024-12-11 20:46:26 +01:00
parent 5bd24574c3
commit a55fba99f9
6 changed files with 129 additions and 9 deletions
-1
View File
@@ -41,7 +41,6 @@ export async function POST(
return NextResponse.json({error: "Agent not found"}, {status: 404})
}
const databasesResponse = await handleDatabases(body, agent, lastContact)
await prisma.agent.update({
where:{
id: agentId,