Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"

This reverts commit 452a48e7f4.
This commit is contained in:
syuilo
2023-03-03 20:26:44 +09:00
parent da3fcf178e
commit a7c82eeabc
5 changed files with 58 additions and 66 deletions

View File

@@ -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;
}