Skip to content

Commit b190589

Browse files
committed
fix: update API endpoint for account passphrase retrieval to include 'passphrase' in the URL
1 parent 4e3da25 commit b190589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/templates/pages/app/main.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
copyText(cached);
9292
return;
9393
}
94-
fetch(`/api/accounts/${id}`, { credentials: 'include' })
94+
fetch(`/api/accounts/${id}/passphrase`, { credentials: 'include' })
9595
.then(response => response.json())
9696
.then(data => {
9797
passphraseCache.set(id, data);

0 commit comments

Comments
 (0)