Skip to content

Commit 9f56234

Browse files
committed
fix: eid wallet check
1 parent e7c68b0 commit 9f56234

File tree

1 file changed

+4
-4
lines changed
  • infrastructure/eid-wallet/src/lib/global/controllers

1 file changed

+4
-4
lines changed

infrastructure/eid-wallet/src/lib/global/controllers/evault.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import {
2-
PUBLIC_REGISTRY_URL,
3-
PUBLIC_PROVISIONER_URL,
42
PUBLIC_EID_WALLET_TOKEN,
3+
PUBLIC_PROVISIONER_URL,
4+
PUBLIC_REGISTRY_URL,
55
} from "$env/static/public";
66
import type { Store } from "@tauri-apps/plugin-store";
77
import axios from "axios";
88
import { GraphQLClient } from "graphql-request";
99
import NotificationService from "../../services/NotificationService";
10-
import type { UserController } from "./user";
1110
import type { KeyService } from "./key";
11+
import type { UserController } from "./user";
1212

1313
const STORE_META_ENVELOPE = `
1414
mutation StoreMetaEnvelope($input: MetaEnvelopeInput!) {
@@ -176,7 +176,7 @@ export class VaultController {
176176
};
177177

178178
if (authToken) {
179-
headers["Authorization"] = `Bearer ${authToken}`;
179+
headers.Authorization = `Bearer ${authToken}`;
180180
}
181181

182182
await axios.patch(patchUrl, { publicKey }, { headers });

0 commit comments

Comments
 (0)