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 = {
|
||||
api: ["/api/v2"],
|
||||
app: "2025.03.1",
|
||||
app: "2025.03.2",
|
||||
};
|
||||
|
||||
module.exports = version;
|
||||
|
@ -81,7 +81,7 @@ export async function findByTiplocArray(
|
||||
} else {
|
||||
const partialStart = await findPartialStartMatchByTiploc(tiplocArray);
|
||||
if (partialStart) {
|
||||
return convertDocument(partialEnd, "last");
|
||||
return convertDocument(partialStart, "last");
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user