Skip to content

Commit 6b6ab15

Browse files
author
Enric Sala
committed
Fix bug where the weboptions variable was removed by mistake
1 parent 8abd4d5 commit 6b6ab15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb-client/InfluxDB.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
params{end + 1} = ['consistency=' consistency];
9898
end
9999
url = [obj.Url '/write?' strjoin(params, '&')];
100-
weboptions('Timeout', obj.WriteTimeout, ...
100+
opts = weboptions('Timeout', obj.WriteTimeout, ...
101101
'Username', obj.User, 'Password', obj.Password);
102102
webwrite(url, lines, opts);
103103
end

0 commit comments

Comments
 (0)