Skip to content

Commit

Permalink
Merge pull request #171 from UoaWDCC/GH133-edit-checker-page-endpoint
Browse files Browse the repository at this point in the history
Gh133 edit checker page endpoint
  • Loading branch information
alexwillmcleod authored Jan 12, 2024
2 parents e7c29ba + 33fa893 commit da9f170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/routes/verify/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const prisma = new PrismaClient();
export const router = express.Router();

router.get(
'/verify/:webLink/:columnName/:value',
'/:webLink/:columnName/:value',
async (req: Request, res: Response) => {
const { webLink, columnName, value } = req.params;
if (!webLink || !columnName || !value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const CheckerPagePreview = () => {
<div className={styles.pageLinksContainer}>
{/* Edit button (edit functionality to be implemented) */}
<a href={`/edit/${currentPageData.webLink}`}>Edit</a>
<span> | </span>
{/* <span> | </span> */}
{/* View API keys button (view API keys functionality to be implemented) */}
{/* <a href="#">View API Keys</a> */}
{/* <span> | </span> */}
Expand Down

0 comments on commit da9f170

Please sign in to comment.