listo insittucion#

This commit is contained in:
xXpuma99Xx 2022-04-17 21:34:07 -05:00
parent f8421f204a
commit 32f3cc2943
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export class Institucion {
@Column({ type: Number, nullable: false, default: 7 })
dias_multa_retraso: number;
@Column({ type: String, nullable: false })
@Column({ type: String, nullable: false, length: 150 })
institucion: string;
@Column({ type: String, nullable: false, length: 50 })

View File

@ -1,4 +1,4 @@
import { Controller, Get } from '@nestjs/common';
import { Controller, Get, Put } from '@nestjs/common';
import { InstitucionService } from './institucion.service';
@Controller('institucion')
@ -9,4 +9,7 @@ export class InstitucionController {
get() {
return this.institucionService.findAll();
}
@Put()
update() {}
}