Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/services/challenge.location.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ export const serviceLocationLogic = async (
const hashPosition: Map<string, number> = new Map<string, number>(); //hash된 위치의 map 각 key를 위치로, value를 개수로 설정함

for (const [, photo] of iterator) { //lint 규칙에 어긋나지만 문법 상 index가 필요하지만, 밑의 반복문에서는 필요하지 않습니다.
if (photo.latitude === null || photo.longitude === null) {
if (
photo.latitude === null || photo.longitude === null
|| photo.latitude === 0 || photo.longitude === 0
) {
continue;
}

Expand Down