Skip to content

Commit

Permalink
Update include for @fastify/basic-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldfar committed Sep 15, 2023
1 parent 2224d86 commit 4d8efd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.fastify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ||
Expand Down

0 comments on commit 4d8efd7

Please sign in to comment.