fixed a bug in the x-csrf-token management where the token was not refreshed on every subsequent _request() call. This resulted in issues with UDM pro 1.12.x version where the csrf-token was changed to be refreshed on every subsequent call, thus we require to update the request header accordingly. This also fixes #157.
fixed a bug in the x-csrf-token management where the token was not
refreshed on every subsequent _request() call. This resulted in issues
with UDM pro 1.12.x version where the csrf-token was changed to be
refreshed on every subsequent call, thus we require to update the
request header accordingly. This also fixes #157.

jens-maus/node-unifi