Server code style

This commit is contained in:
Matthias Rupp 2023-05-01 23:24:12 -11:00
parent fc21e37b2c
commit 8c79e8e719
2 changed files with 1 additions and 4 deletions

View file

@ -147,9 +147,7 @@ export class AssetService {
public async getMapMarkers(authUser: AuthUserDto, dto: AssetSearchDto): Promise<MapMarkerResponseDto[]> {
const assets = await this._assetRepository.getAllByUserId(authUser.id, dto);
return assets
.map((asset) => mapAssetMapMarker(asset))
.filter((marker) => marker != null) as MapMarkerResponseDto[];
return assets.map((asset) => mapAssetMapMarker(asset)).filter((marker) => marker != null) as MapMarkerResponseDto[];
}
public async getAssetByTimeBucket(

View file

@ -2,4 +2,3 @@ export * from './asset-response.dto';
export * from './exif-response.dto';
export * from './smart-info-response.dto';
export * from './map-marker-response.dto';