add new EP
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { Controller } from "@nestjs/common";
|
||||
import { Body, Controller, Post } from "@nestjs/common";
|
||||
import { OperationsService } from "./operations.services";
|
||||
|
||||
@Controller('operations')
|
||||
export class OperationsController{
|
||||
constructor(private readonly operationsService:OperationsService){}
|
||||
|
||||
|
||||
@Post()
|
||||
async Login(@Body() data) {
|
||||
return this.operationsService.chargePrint(data,data.userid);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user