diff options
| author | taichan <40626578+tai-cha@users.noreply.github.com> | 2024-07-30 16:51:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 16:51:50 +0900 |
| commit | b359e3c95beee5acd1d32abee112f34ec602bcee (patch) | |
| tree | 4df0c845dd3ad283ca8792f5880a91f23d5208b7 /packages | |
| parent | refactor(backend): remove unrelated comments (diff) | |
| download | sharkey-b359e3c95beee5acd1d32abee112f34ec602bcee.tar.gz sharkey-b359e3c95beee5acd1d32abee112f34ec602bcee.tar.bz2 sharkey-b359e3c95beee5acd1d32abee112f34ec602bcee.zip | |
Fix condition of noteSearchableScope (#14325)
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/backend/src/core/entities/MetaEntityService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/entities/MetaEntityService.ts b/packages/backend/src/core/entities/MetaEntityService.ts index bcfd8ae41c..44ec0d6a7b 100644 --- a/packages/backend/src/core/entities/MetaEntityService.ts +++ b/packages/backend/src/core/entities/MetaEntityService.ts @@ -128,7 +128,7 @@ export class MetaEntityService { mediaProxy: this.config.mediaProxy, enableUrlPreview: instance.urlPreviewEnabled, - noteSearchableScope: this.config.meilisearch == null || this.config.meilisearch.scope === 'local' ? 'local' : 'global', + noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local', }; return packed; |