Server code style
This commit is contained in:
parent
fc21e37b2c
commit
8c79e8e719
2 changed files with 1 additions and 4 deletions
|
@ -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(
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue