Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
syuilo committed Jul 30, 2024
2 parents f0ec68c + b359e3c commit 39498dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/entities/MetaEntityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39498dd

Please sign in to comment.