Update index.js
This commit is contained in:
parent
cd51641352
commit
a98478a2ed
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue