We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab70466 commit d672b11Copy full SHA for d672b11
src/base-client.js
@@ -180,13 +180,13 @@ export default class BaseClient {
180
await this._deviceStateStore.setLastSeenUserAgent(userAgent);
181
}
182
183
- async _registerDevice(deviceToken) {
+ async _registerDevice(token) {
184
const path = `${this._baseURL}/device_api/v1/instances/${encodeURIComponent(
185
this.instanceId
186
)}/devices/${this._platform}`;
187
188
const device = {
189
- deviceToken,
+ token,
190
metadata: {
191
sdkVersion,
192
},
0 commit comments