diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-03-03 20:26:44 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-03-03 20:26:44 +0900 |
| commit | a7c82eeabcc732e76c5c358c98812cac8457d57f (patch) | |
| tree | 5c845ed243968d806eeb3b1045bef223a6d31136 /packages/backend/src/misc | |
| parent | fix CHANGELOG.md (diff) | |
| download | misskey-a7c82eeabcc732e76c5c358c98812cac8457d57f.tar.gz misskey-a7c82eeabcc732e76c5c358c98812cac8457d57f.tar.bz2 misskey-a7c82eeabcc732e76c5c358c98812cac8457d57f.zip | |
Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"
This reverts commit 452a48e7f4782cf9bdf08b554264ab3cdcb12685.
Diffstat (limited to 'packages/backend/src/misc')
| -rw-r--r-- | packages/backend/src/misc/is-not-null.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/backend/src/misc/is-not-null.ts b/packages/backend/src/misc/is-not-null.ts deleted file mode 100644 index d89a1957be..0000000000 --- a/packages/backend/src/misc/is-not-null.ts +++ /dev/null @@ -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; -} |