Skip to content

Commit b997d68

Browse files
committed
Fix linter
1 parent b5967b8 commit b997d68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/utils/tools.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ const extractExpiry = R.cond([
3030
const getPropValueOrUndefinedIfIsSilent = (propName, data) => {
3131
if (data.silent) {
3232
return undefined;
33-
} else return data[propName];
33+
}
34+
return data[propName];
3435
};
3536

3637
const toJSONorUndefined = R.when(
@@ -141,7 +142,6 @@ const buildGcmMessage = (data, options) => {
141142
};
142143

143144
const buildApnsMessage = (data) => {
144-
console.log('data', data);
145145
const message = new ApnsMessage({
146146
retryLimit: data.retries || -1,
147147
expiry: extractExpiry(data),
@@ -165,7 +165,6 @@ const buildApnsMessage = (data) => {
165165
threadId: data.threadId,
166166
pushType: data.pushType,
167167
});
168-
console.log('message', message);
169168

170169
if (data.rawPayload) {
171170
message.rawPayload = data.rawPayload;

0 commit comments

Comments
 (0)