We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d83ae commit 2499250Copy full SHA for 2499250
1 file changed
src/index.ts
@@ -462,11 +462,11 @@ export namespace OneSignal {
462
}
463
464
const convertedTags = tags as { [key: string]: any };
465
- Object.keys(tags).forEach(function(key){
466
- // forces values to be string types
467
- if (typeof convertedTags[key] !== "string") {
468
- convertedTags[key] = JSON.stringify(convertedTags[key]);
469
- }
+ Object.keys(tags).forEach(function (key) {
+ // forces values to be string types
+ if (typeof convertedTags[key] !== 'string') {
+ convertedTags[key] = JSON.stringify(convertedTags[key]);
+ }
470
});
471
472
RNOneSignal.addTags(tags);
0 commit comments