This commit is contained in:
Ben Wilson
2023-08-05 23:03:32 -04:00
parent 924909bef0
commit 9bda704e13
+5 -1
View File
@@ -10,6 +10,9 @@ import { BitcoinRpcService } from './services/bitcoin-rpc.service';
@Controller()
export class AppController {
private uptime = new Date();
constructor(
@Inject(CACHE_MANAGER) private readonly cacheManager: Cache,
private readonly clientService: ClientService,
@@ -26,7 +29,8 @@ export class AppController {
return {
blockData,
userAgents
userAgents,
uptime: this.uptime
};
}