From 86551c147f6920a0b0b7ffc460b46d9e51021b43 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:32:03 +0400 Subject: [PATCH 1/2] fix guild action array size --- src/models/schemas/Guild.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/schemas/Guild.schema.ts b/src/models/schemas/Guild.schema.ts index 3baf3a4..4f04d99 100644 --- a/src/models/schemas/Guild.schema.ts +++ b/src/models/schemas/Guild.schema.ts @@ -56,7 +56,7 @@ const guildSchema = new Schema({ }, action: { type: Array, - default: [1, 1, 1, 4, 3, 5, 5, 4, 3, 3, 2], + default: [1, 1, 1, 4, 3, 5, 5, 4, 3, 3, 2, 2, 1], validate: { validator: function (arr: Array) { return arr.length === 13; From 090b2d5993b05c1f0d239762372e30e8878bcc5f Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:32:47 +0400 Subject: [PATCH 2/2] fix guild action array size --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a7d26c..eb91e6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/db", - "version": "2.4.3", + "version": "2.4.4", "description": "All interactions with DB", "main": "./dist/index.js", "types": "./dist/index.d.ts",