Update index.js
This commit is contained in:
parent
e223e1ae75
commit
2f21e39656
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -103,7 +103,7 @@ async function searchElement(request, response) {
|
|||
|
||||
// Set a db variable
|
||||
|
||||
app.put('/api/:auth/database/:element/set/:data', (request, response) => {
|
||||
app.put('/api/:auth/database/:element/set/:data', async (request, response) => {
|
||||
var token = request.params.auth;
|
||||
var element = request.params.element;
|
||||
var data = request.params.data;
|
||||
|
|
Loading…
Reference in a new issue