Skip to content

Commit a705118

Browse files
committed
Don't shadow options
1 parent 280c256 commit a705118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database/src/realtime/WebSocketConnection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class WebSocketConnection implements Transport {
166166
if (isNodeSdk()) {
167167
const device = this.nodeAdmin ? 'AdminNode' : 'Node';
168168
// UA Format: Firebase/<wire_protocol>/<sdk_version>/<platform>/<device>
169-
const options: { [k: string]: object } = {
169+
options = {
170170
headers: {
171171
'User-Agent': `Firebase/${PROTOCOL_VERSION}/${SDK_VERSION}/${process.platform}/${device}`,
172172
'X-Firebase-GMPID': this.applicationId || ''

0 commit comments

Comments
 (0)