Added type check for id

This commit is contained in:
perso182 committed 2025-04-01 16:56:17 +02:00
1 parent 37ae0374d8
commit d966668257
1 file changed
+1 -1
+1 -1
View File
@@ -249,7 +249,7 @@
};
const identify = (data, id = undefined) => {
if (id) {
if (id && typeof id === 'string') {
identity = id;
}
/* Clear cache since this will result in another session */