Update index.js

This commit is contained in:
Killer Boss Original 2022-07-05 01:29:50 +02:00 committed by GitHub
parent cd51641352
commit a98478a2ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ function alldata(request, response) {
app.get('/api/:auth/database/:element/', searchElement);
function searchElement(request, response) {
async function searchElement(request, response) {
var token = request.params.auth;
authenticate(token)