d
This commit is contained in:
parent
2f21e39656
commit
4085416c42
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', async (request, response) => {
|
||||
app.post('/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