Skip to content

Commit

Permalink
Removed unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
molleer committed Jun 9, 2024
1 parent 3fedbee commit cbe18c9
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { Tools } from "../utils/commonTypes";
const setupGraphql = (app: express.Application, tools: Tools) => {
const graphiql = process.env.GRAPHIQL == "true";
const typeDefs = mergeTypeDefs(
loadFilesSync(join(__dirname, "../schemas/v2/*.gql")),
loadFilesSync(join(__dirname, "../schemas/v1/*.gql")),
);

const router = express.Router();
Expand All @@ -27,7 +27,7 @@ const setupGraphql = (app: express.Application, tools: Tools) => {
res.status(401).end();
});
router.use(
"/v2",
"/v1",
graphqlHTTP((req: any) => ({


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion frontend/src/api/backend.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
getIllegalSlots_query,
} from "./backend.queries";

const graphql_endpoint = "/api/graphql/v2";
const graphql_endpoint = "/api/graphql/v1";

const request = (body, dataLabel, errorMessage, onReject = () => null) =>
new Promise(resolve =>
Expand Down

0 comments on commit cbe18c9

Please sign in to comment.