Cleaning up code

This commit is contained in:
Rishi Ghan
2026-04-14 10:26:07 -04:00
parent c604bd8e4d
commit 4d50f22df4
10 changed files with 7469 additions and 22745 deletions

View File

@@ -3,8 +3,6 @@
import axios from "axios";
import { Context, Service, ServiceBroker } from "moleculer";
const METRON_BASE_URL = "https://metron.cloud/api/";
export default class MetronService extends Service {
public constructor(public broker: ServiceBroker) {
super(broker);
@@ -34,8 +32,8 @@ export default class MetronService extends Service {
},
auth: {
username: "frishi",
password: "Titu@1588"
}
password: "Titu@1588",
},
});
return results.data;
},