Commit f9169f2e by jay

.

1 parent b9e3e076
...@@ -29,11 +29,22 @@ ...@@ -29,11 +29,22 @@
"required": true "required": true
}, },
"cpGuidelines": { "cpGuidelines": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [ "allowedTypes": [
"images", "images",
"files", "files",
"videos", "videos",
"audios" "audios"
]
},
"invoice": {
"allowedTypes": [
"images",
"videos",
"audios",
"files"
], ],
"type": "media", "type": "media",
"multiple": false "multiple": false
......
...@@ -603,7 +603,7 @@ const userPermissionExtension = (plugin) => { ...@@ -603,7 +603,7 @@ const userPermissionExtension = (plugin) => {
.add(newUser); .add(newUser);
const sanitizedUser = await sanitizeUser(user, ctx); const sanitizedUser = await sanitizeUser(user, ctx);
console.log("SANITIZE sanitizedUser", sanitizedUser); // console.log("SANITIZE sanitizedUser", sanitizedUser);
// if (settings.email_confirmation) { // if (settings.email_confirmation) {
// try { // try {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!