Skip to content

Commit 5dfb26c

Browse files
committed
chore: adjust examples to recent changes
1 parent 02207b8 commit 5dfb26c

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "next/core-web-vitals"
2+
"extends": "next/core-web-vitals",
3+
"root": true
34
}

examples/getting-started/src/lib/navigraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getChartsAPI } from "navigraph/charts";
55
const config: NavigraphApp = {
66
clientId: "<YOUR_NAVIGRAPH_CLIENT_ID>",
77
clientSecret: "<YOUR_NAVIGRAPH_CLIENT_SECRET>",
8-
scopes: [Scope.USERINFO, Scope.OPENID, Scope.CHARTS, Scope.OFFLINE, Scope.FMSDATA],
8+
scopes: [Scope.CHARTS, Scope.OFFLINE, Scope.FMSDATA],
99
};
1010

1111
initializeApp(config);

examples/getting-started/src/pages/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function App() {
2626
)}
2727
{params?.verification_uri_complete && !user && (
2828
<>
29-
<img src={params.qr.imgSrc} alt="" />
3029
<a
3130
href={params.verification_uri_complete}
3231
className="text-blue-600"

examples/msfs-panel/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function App() {
2626
)}
2727
{params?.verification_uri_complete && !user && (
2828
<>
29-
<img src={params.qr.imgSrc} alt="" />
3029
<a
3130
href={params.verification_uri_complete}
3231
className="text-blue-600"

examples/msfs-panel/src/lib/navigraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getChartsAPI } from "navigraph/charts";
55
const config: NavigraphApp = {
66
clientId: "<YOUR_NAVIGRAPH_CLIENT_ID>",
77
clientSecret: "<YOUR_NAVIGRAPH_CLIENT_SECRET>",
8-
scopes: [Scope.USERINFO, Scope.OPENID, Scope.CHARTS, Scope.OFFLINE, Scope.FMSDATA],
8+
scopes: [Scope.CHARTS, Scope.OFFLINE, Scope.FMSDATA],
99
};
1010

1111
initializeApp(config);

0 commit comments

Comments
 (0)