Skip to content

Commit

Permalink
Merge pull request #58
Browse files Browse the repository at this point in the history
fix(regex): fix regex call
  • Loading branch information
rubenvitt authored Oct 28, 2024
2 parents c5e0500 + 7d063b2 commit ec484ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/fahrzeuge/fahrzeuge.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class FahrzeugeService {
const match = regex.exec(fahrzeug.funkrufname);
const maybeLabel = funkrufnameParts.some((part) => isNaN(Number(part)))
? (match ? match[1] || fahrzeug.funkrufname)
: this.extractFunkrufnameLabπel(funkrufnameParts)();
: this.extractFunkrufnameLabel(funkrufnameParts)();
return { optaOrt, optaFunktion, optaOrdnung, maybeLabel };
}

Expand Down

0 comments on commit ec484ee

Please sign in to comment.