Add dockerfile, small fixes
This commit is contained in:
@@ -29,7 +29,6 @@ export const orgModel = mongoose.model(
|
||||
);
|
||||
|
||||
const orgCore = {
|
||||
_id: z.string().optional(),
|
||||
name: z.string().max(30),
|
||||
domain: z.string().max(30).optional(),
|
||||
avatar: z.string().url().optional(),
|
||||
@@ -44,6 +43,7 @@ const createOrgInput = z.object({
|
||||
});
|
||||
|
||||
const createOrgResponse = z.object({
|
||||
_id: z.string().optional(),
|
||||
pid: z.string(),
|
||||
...orgCore,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user