mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix: Update notifications lib to make it testable
closes #7770 closes #7782
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
import { removeFromArray } from '../../libs/collectionManipulators';
|
||||
import { sendTxn as sendTxnEmail } from '../../libs/email';
|
||||
import { encrypt } from '../../libs/encryption';
|
||||
import sendPushNotification from '../../libs/pushNotifications';
|
||||
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
|
||||
import pusher from '../../libs/pusher';
|
||||
|
||||
let api = {};
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
sendTxn as sendTxnEmail,
|
||||
} from '../../libs/email';
|
||||
import Bluebird from 'bluebird';
|
||||
import sendPushNotification from '../../libs/pushNotifications';
|
||||
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
|
||||
|
||||
let api = {};
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
sendTxn as sendTxnEmail,
|
||||
} from '../../libs/email';
|
||||
import common from '../../../../common';
|
||||
import sendPushNotification from '../../libs/pushNotifications';
|
||||
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
|
||||
|
||||
const questScrolls = common.content.quests;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user