fix: Error in shares.info endpoint when user originally creating share has been deleted
This commit is contained in:
@ -37,7 +37,7 @@ Share.associate = (models) => {
|
||||
});
|
||||
Share.addScope("defaultScope", {
|
||||
include: [
|
||||
{ association: "user" },
|
||||
{ association: "user", paranoid: false },
|
||||
{ association: "document" },
|
||||
{ association: "team" },
|
||||
],
|
||||
|
Reference in New Issue
Block a user