Explorar o código

Fix default value of `sort`

The default has to be a numeric value.
Marc Hartmayer %!s(int64=5) %!d(string=hai) anos
pai
achega
3d33ea911a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -278,7 +278,7 @@ Cards.attachSchema(
        */
       type: Number,
       decimal: true,
-      defaultValue: '',
+      defaultValue: 0,
     },
     subtaskSort: {
       /**