Remove auth for client info retrieval
This commit is contained in:
2520
js/ui/package-lock.json
generated
2520
js/ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -70,7 +70,7 @@
|
||||
let client_metadata = {};
|
||||
onMount(async () => {
|
||||
try {
|
||||
client_metadata = JSON.parse(await fetch(`${window.location.origin}/client/${client_id}`));
|
||||
client_metadata = fetch(`${window.location.origin}/client/${client_id}`).then((response) => response.json());
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user