diff --git a/backend/agent-manager.ts b/backend/agent-manager.ts index e5374de..72c43a0 100644 --- a/backend/agent-manager.ts +++ b/backend/agent-manager.ts @@ -114,7 +114,7 @@ export class AgentManager { */ async update(friendlyname : string, updatedFriendlyName : string) { - await R.exec('UPDATE agent SET friendlyname = "' + updatedFriendlyName + '" WHERE friendlyname = "' + friendlyname + '"'); + await R.exec("UPDATE agent SET friendlyname = " + updatedFriendlyName + " WHERE friendlyname = " + friendlyname + ""); } connect(url : string, username : string, password : string) {