feat: allow ad-hoc creation of new teams (#3964)
Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export type TeamPreferences = Record<string, unknown>;
|
||||
@Fix
|
||||
class Team extends ParanoidModel {
|
||||
@NotContainsUrl
|
||||
@Length({ max: 255, msg: "name must be 255 characters or less" })
|
||||
@Length({ min: 2, max: 255, msg: "name must be between 2 to 255 characters" })
|
||||
@Column
|
||||
name: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user