Skip to content

Commit 2cdbd7f

Browse files
authored
Merge pull request #1422 from vinikjkkj/fix-pairing
fix pairing code not working
2 parents 3f976f9 + fe3dbc8 commit 2cdbd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/generics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const Browsers: BrowsersMap = {
2828

2929
export const getPlatformId = (browser: string) => {
3030
const platformType = proto.DeviceProps.PlatformType[browser.toUpperCase()]
31-
return platformType ? platformType.toString().charCodeAt(0).toString() : '49' //chrome
31+
return platformType ? platformType.toString() : '1' //chrome
3232
}
3333

3434
export const BufferJSON = {

0 commit comments

Comments
 (0)