Skip to content

Commit

Permalink
refactor(crypto): match entity schema name with delegate username (2.…
Browse files Browse the repository at this point in the history
…7) (#4211)
  • Loading branch information
air1one authored Dec 4, 2020
1 parent 72f99b9 commit 4e85a74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const validRegisters: Interfaces.IEntityAsset[] = [
subType: 0,
action: Enums.EntityAction.Register,
data: {
name: "my_module",
name: "my_@&$-module!...",
...data,
},
})),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const register = {
required: ["name"],
additionalProperties: false,
properties: {
name: { type: "string", pattern: "^[a-zA-Z0-9_-]+$", minLength: 1, maxLength: 40 },
name: { type: "string", pattern: "^[a-zA-Z0-9_!@$&.-]+$", minLength: 1, maxLength: 40 },
...update.properties,
},
};
Expand Down

0 comments on commit 4e85a74

Please sign in to comment.