Skip to content

Commit

Permalink
feat(MONIT): actualizacion de ABM en novedades (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
ma7payne authored Feb 29, 2024
1 parent c9714c7 commit d51cf0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/registro-novedades/novedades.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class NovedadesResource extends ResourceBase {
resourceName = 'novedades';
searchFileds = {
titulo: MongoQuery.partialString,
palabra: MongoQuery.partialString,
descripcion: MongoQuery.partialString,
fecha: MongoQuery.equalMatch,
activa: MongoQuery.equalMatch,
Expand Down
1 change: 1 addition & 0 deletions modules/registro-novedades/novedades.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const NovedadSchema = new mongoose.Schema({
id: mongoose.Schema.Types.ObjectId,
fecha: { type: Date, default: Date.now },
titulo: String,
palabra: String,
descripcion: String,
modulo: {
type: ModuloSchema
Expand Down

0 comments on commit d51cf0b

Please sign in to comment.