Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgxvii committed Oct 8, 2024
1 parent 26f9dc2 commit 5268450
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cypress.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"baseUrl": "http://localhost:3000/kratos-ui"
"baseUrl": "http://localhost:3000/kratos-ui"
}
4 changes: 2 additions & 2 deletions pages/api/consent.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from "axios"
import { NextApiRequest, NextApiResponse } from "next"
import axios from "axios" // Using axios for HTTP requests

const baseURL = process.env.HYDRA_ADMIN_URL
const baseURL = process.env.HYDRA_ADMIN_URL

// Helper function to extract session data
const extractSession = (identity: any, grantScope: string[]) => {
Expand Down
6 changes: 1 addition & 5 deletions pkg/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ const localConfig = {
},
}

export default new FrontendApi(
new Configuration(
localConfig,
),
)
export default new FrontendApi(new Configuration(localConfig))

0 comments on commit 5268450

Please sign in to comment.