Merge branch 'dev' into staging
This commit is contained in:
commit
bf0348a153
@ -184,11 +184,6 @@ export default class OfficeFoldersController extends ApiController {
|
||||
//validate folder
|
||||
await validateOrReject(officefolderToUpdate, { groups: ["updateFolder"], forbidUnknownValues: false });
|
||||
|
||||
if ((officeFolderFound as any).folder_anchor?.status !== "VERIFIED_ON_CHAIN") {
|
||||
this.httpBadRequest(response, "Cannot archive a not anchored folder");
|
||||
return;
|
||||
}
|
||||
|
||||
//call service to get prisma entity
|
||||
const officeFolderEntityUpdated = await this.officeFoldersService.updateStatus(uid, officefolderToUpdate);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user