Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"
This reverts commit 452a48e7f4.
This commit is contained in:
parent
da3fcf178e
commit
a7c82eeabc
5 changed files with 58 additions and 66 deletions
|
|
@ -1,5 +0,0 @@
|
|||
// we are using {} as "any non-nullish value" as expected
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
export function isNotNull<T extends {}>(input: T | undefined | null): input is T {
|
||||
return input != null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue