Fix incorrect variable name when finding a partial PIS match
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
e12b809d04
commit
11f72679a0
@ -5,7 +5,7 @@ interface versions {
|
|||||||
|
|
||||||
const version: versions = {
|
const version: versions = {
|
||||||
api: ["/api/v2"],
|
api: ["/api/v2"],
|
||||||
app: "2025.03.1",
|
app: "2025.03.2",
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = version;
|
module.exports = version;
|
||||||
|
@ -81,7 +81,7 @@ export async function findByTiplocArray(
|
|||||||
} else {
|
} else {
|
||||||
const partialStart = await findPartialStartMatchByTiploc(tiplocArray);
|
const partialStart = await findPartialStartMatchByTiploc(tiplocArray);
|
||||||
if (partialStart) {
|
if (partialStart) {
|
||||||
return convertDocument(partialEnd, "last");
|
return convertDocument(partialStart, "last");
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user