Skip to content

Commit

Permalink
Merge pull request #6345 from NMDSdevopsServiceAdm/fix/remove-specifi…
Browse files Browse the repository at this point in the history
…c-rate-limiting-rules-from-nhs-api

Update the NHS API endpoints to use existing rate limiting config
  • Loading branch information
duncanc19 authored Sep 3, 2024
2 parents 92954a3 + fb921a2 commit 1c6f277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/server/routes/nhsBsaApi/apiDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const express = require('express');
const router = express.Router();
const fs = require('fs');
const path = require('path');
const { authLimiter } = require('../../utils/middleware/rateLimitingNHSBSAAPI');
const { authLimiter } = require('../../utils/middleware/rateLimiting');

const nhsBsaApiDocumentation = (req, res) => {
try {
Expand Down
2 changes: 1 addition & 1 deletion backend/server/routes/nhsBsaApi/workplaceData.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const express = require('express');
const router = express.Router();
const models = require('../../models');
const authorization = require('../../utils/middleware/isNHSBSAAuthenticated');
const { authLimiter } = require('../../utils/middleware/rateLimitingNHSBSAAPI');
const { authLimiter } = require('../../utils/middleware/rateLimiting');
// WDF effective date
const WdfCalculator = require('../../models/classes/wdfCalculator').WdfCalculator;

Expand Down

0 comments on commit 1c6f277

Please sign in to comment.