Skip to content

Commit

Permalink
passkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickFuereder committed Feb 11, 2025
1 parent 42c18ed commit 9326d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/js/data/auth/passkeys/deletePasskey.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export async function deletePasskey(id) {
await LoginManager.validateToken();
const req = await fetch(`https://api.login.${LoginManager.domain}/passkeys`, {
const req = await fetch(`https://api.login.${LoginManager.domain}/passkey`, {
method: 'DELETE',
headers: {
Authorization: 'Bearer ' + LoginManager.getCookie('token'),
Expand Down
2 changes: 1 addition & 1 deletion Assets/js/data/auth/passkeys/getPasskeys.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export async function getPasskeys() {
await LoginManager.validateToken();
const req = await fetch(`https://api.login.${LoginManager.domain}/passkeys`, {
const req = await fetch(`https://api.login.${LoginManager.domain}/passkey`, {
method: 'GET',
headers: {
Authorization: 'Bearer ' + LoginManager.getCookie('token'),
Expand Down

0 comments on commit 9326d30

Please sign in to comment.