Incorrect id being sent through to the api

This commit is contained in:
RSd108 2021-03-31 09:23:27 +02:00 committed by GitHub
parent 43d1861089
commit 7b47f55098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,7 +346,7 @@ class MikrotikAPI:
) )
return True return True
params = {".id": tmp[".id"]} params = {".id": entry_found}
self.lock.acquire() self.lock.acquire()
try: try:
tuple(response(command, **params)) tuple(response(command, **params))