Skip to content

Commit

Permalink
Merge pull request #84 from RnDAO/fix/action
Browse files Browse the repository at this point in the history
fix guild action array size
  • Loading branch information
cyri113 authored Jun 28, 2023
2 parents 3778f0e + 090b2d5 commit bb14d0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/models/schemas/Guild.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const guildSchema = new Schema<IGuild, GuildModel>({
},
action: {
type: Array<number>,
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<number>) {
return arr.length === 13;
Expand Down

0 comments on commit bb14d0c

Please sign in to comment.