Skip to content

Commit

Permalink
chore: updated log message for collectDeviceId
Browse files Browse the repository at this point in the history
Co-authored-by: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com>
  • Loading branch information
desusai7 and 1abhishekpandey authored Aug 30, 2023
1 parent 3f7c33f commit f05551b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/sdk/src/RudderClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function validateConfiguration(configuration: Configuration) {
delete configuration.enableBackgroundMode;
}
if (configuration.collectDeviceId && typeof configuration.collectDeviceId != 'boolean') {
logWarn("setup : 'withCollectDeviceId' must be a boolen. Falling back to the default value");
logWarn("setup : 'collectDeviceId' must be a boolean. Falling back to the default value");
delete configuration.collectDeviceId;
}
}
Expand Down

0 comments on commit f05551b

Please sign in to comment.