return 1 regex result for itemIds

This commit is contained in:
KGT1 2021-01-17 05:27:53 +01:00
parent 8ae3cfa3bb
commit fb38c2b37d

View File

@ -1,6 +1,6 @@
function checkJellyfinItemIDRegex (strgintomatch) {
const regexresult = strgintomatch.match(/([0-9]|[a-f]){32}/);
return regexresult;
return [regexresult[0]];
}
function ticksToSeconds (ticks) {