🐛 Fixing anchor in folder_anchor
This commit is contained in:
parent
3dee62499d
commit
75488c1018
@ -46,7 +46,7 @@ export default class NotificationBuilder {
|
||||
});
|
||||
if (!documentPrisma) throw new Error("Document not found");
|
||||
const document = Document.hydrate<Document>(documentPrisma);
|
||||
if (document.folder?.anchor?.status !== "VERIFIED_ON_CHAIN") return;
|
||||
if (document.folder?.folder_anchor?.status !== "VERIFIED_ON_CHAIN") return;
|
||||
|
||||
this.notificationsService.create({
|
||||
message:
|
||||
|
Loading…
x
Reference in New Issue
Block a user