refactor: rename searchMetadata to searchAssets (#14151)

This commit is contained in:
Jason Rasmussen
2024-11-20 14:47:25 -05:00
committed by GitHub
parent ed8a3101a8
commit 9e1e9b1fbf
11 changed files with 32 additions and 32 deletions

View File

@@ -24,8 +24,8 @@
import { shortcut } from '$lib/actions/shortcut';
import {
type AssetResponseDto,
searchAssets,
searchSmart,
searchMetadata,
getPerson,
type SmartSearchDto,
type MetadataSearchDto,
@@ -156,7 +156,7 @@
const { albums, assets } =
'query' in searchDto && $featureFlags.smartSearch
? await searchSmart({ smartSearchDto: searchDto })
: await searchMetadata({ metadataSearchDto: searchDto });
: await searchAssets({ metadataSearchDto: searchDto });
searchResultAlbums.push(...albums.items);
searchResultAssets.push(...assets.items);