2025-09-17 16:33:57 -06:00
|
|
|
import { Body, Controller, Post } from "@nestjs/common";
|
2025-09-16 22:37:25 -06:00
|
|
|
import { OperationsService } from "./operations.services";
|
|
|
|
|
|
|
|
|
|
@Controller('operations')
|
|
|
|
|
export class OperationsController{
|
|
|
|
|
constructor(private readonly operationsService:OperationsService){}
|
|
|
|
|
|
2025-09-17 16:33:57 -06:00
|
|
|
@Post()
|
|
|
|
|
async Login(@Body() data) {
|
|
|
|
|
return this.operationsService.chargePrint(data,data.userid);
|
|
|
|
|
}
|
2025-09-16 22:37:25 -06:00
|
|
|
}
|