diff --git a/api/lib/utils/misc.js b/api/lib/utils/misc.js new file mode 100644 index 0000000000..a60a14e0d6 --- /dev/null +++ b/api/lib/utils/misc.js @@ -0,0 +1,8 @@ +const cleanUpPrimaryKeyValue = (value) => { + // For Bing convoId handling + return value.replace(/--/g, '-'); +} + +module.exports = { + cleanUpPrimaryKeyValue, +} \ No newline at end of file