From f4a5152f2c6a3631c9fafad76537d611b3bc5566 Mon Sep 17 00:00:00 2001 From: Ian O'Connor Date: Thu, 12 Feb 2026 11:04:32 -0500 Subject: [PATCH] Use || instead of | to parse roles --- lib/contributors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/contributors.js b/lib/contributors.js index 60107475..b0ca6402 100644 --- a/lib/contributors.js +++ b/lib/contributors.js @@ -6,10 +6,10 @@ const ElasticQueryBrowseBuilder = require('./elasticsearch/elastic-query-browse- const BROWSE_INDEX = process.env.BROWSE_INDEX const parseNameAndRole = (delimitedString) => { - if (!delimitedString.includes('|')) { + if (!delimitedString.includes('||')) { return { name: delimitedString, role: null } } - const [name, role] = delimitedString.split('|') + const [name, role] = delimitedString.split('||') return { name, role } }