Fix websocketonly flag by maneesht · Pull Request #6126 · firebase/firebase-js-sdk (original) (raw)

Fixes an issue where the webSocketOnly field was incorrectly set to undefined when using a websocket database URL.

When initializing the RepoInfo instance, the nodeAdmin value was being passed in as the webSocketOnly value, leading webSocketOnly to be undefined even when using a websocket url.