- i filtri non venivano correttamente salvati sui cookies (compariva null e -100)

- aggiunte tabelle accounts e circuits e movements
This commit is contained in:
Paolo Arena
2022-05-08 00:09:59 +02:00
parent b276a6185f
commit 7b61734aef
5 changed files with 27 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ const AccountSchema = new Schema({
userId: {
type: String,
},
nome_conto: {
name: {
type: String,
},
deperibile: {
@@ -66,7 +66,7 @@ AccountSchema.pre('save', async function(next) {
AccountSchema.statics.getFieldsForSearch = function() {
return [
{field: 'nome_conto', type: tools.FieldType.string},
{field: 'name', type: tools.FieldType.string},
];
};