Fix yet another typo
This commit is contained in:
parent
5832093468
commit
0d51a01d9d
@ -97,7 +97,7 @@ local function search(query, threshold)
|
|||||||
return true, distance
|
return true, distance
|
||||||
else return false end
|
else return false end
|
||||||
end)
|
end)
|
||||||
return d.sort(results, function(x) return x.extra end) -- sort returned results by closeness to query
|
return d.sort_by(results, function(x) return x.extra end) -- sort returned results by closeness to query
|
||||||
end
|
end
|
||||||
|
|
||||||
local function fetch_by_location(loc, limit)
|
local function fetch_by_location(loc, limit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user