Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement /credentials/shop/ as flask view #13464

Merged
merged 4 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions static/js/src/advantage/credentials/api/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,3 @@ export async function rotateKey(activationKey) {
const data = await response.json();
return data;
}

export async function getExamProducts() {
let response = await fetch("/credentials/exam/products", {
method: "GET",
headers: {
Accept: "application/json",
"Content-Type": "application/json",
},
});
const data = await response.json();
return data;
}
2 changes: 0 additions & 2 deletions static/js/src/advantage/credentials/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Integrations } from "@sentry/tracing";
import { ReactQueryDevtools } from "react-query/devtools";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import CredManage from "./components/CredManage";
import CredExamShop from "./components/CredExamShop/CredExamShop";

const oneHour = 1000 * 60 * 60;
const queryClient = new QueryClient({
Expand Down Expand Up @@ -37,7 +36,6 @@ function App() {
<QueryClientProvider client={queryClient}>
<Router basename="/credentials/shop">
<Routes>
<Route path="/" element={<CredExamShop />} />
<Route path="/manage" element={<CredManage />} />
</Routes>
</Router>
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading