fix bug when auth token is undefined

This commit is contained in:
abrown38 authored and abrown38 committed 2026-05-11 09:47:42 +01:00
1 parent 0537c89cd7
commit 9874805832
1 file changed
+2
@@ -121,6 +121,8 @@ angular.module('storage').provider('localStorageService', [function localStorage
// Pull and parse value from internal storage, if present
var data = storedItems[key];
if (data === "undefined")
return null;
if (data)
return JSON.parse(data);