From 4d8efd7a97662b3408eb07b4d2e532112574798a Mon Sep 17 00:00:00 2001 From: Jonathan Goldfarb Date: Thu, 14 Sep 2023 20:44:59 -0700 Subject: [PATCH] Update include for @fastify/basic-auth --- src/routes.fastify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.fastify.js b/src/routes.fastify.js index 567e538..8c43459 100644 --- a/src/routes.fastify.js +++ b/src/routes.fastify.js @@ -8,7 +8,7 @@ const API_PASSWORD = config.conf.get('API_PASSWORD'); const db = require('./db'); // Basic Authentication - https://github.com/fastify/fastify-basic-auth -const auth = require('fastify-basic-auth'); +const auth = require('@fastify/basic-auth'); function validate(username, password, req, reply, done) { if (username === 'anonymous' ||