mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(kafka queue): remove leftover code
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
|||||||
getUserInfo,
|
getUserInfo,
|
||||||
sendTxn as txnEmail,
|
sendTxn as txnEmail,
|
||||||
} from '../../libs/email';
|
} from '../../libs/email';
|
||||||
import Queue from '../../libs/queue';
|
|
||||||
import * as inboxLib from '../../libs/inbox';
|
import * as inboxLib from '../../libs/inbox';
|
||||||
import * as userLib from '../../libs/user';
|
import * as userLib from '../../libs/user';
|
||||||
import nconf from 'nconf';
|
import nconf from 'nconf';
|
||||||
@@ -300,8 +299,6 @@ api.deleteUser = {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (feedback) Queue.sendMessage({feedback, username: user.profile.name}, user._id);
|
|
||||||
|
|
||||||
res.analytics.track('account delete', {
|
res.analytics.track('account delete', {
|
||||||
uuid: user._id,
|
uuid: user._id,
|
||||||
hitType: 'event',
|
hitType: 'event',
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
const api = {};
|
|
||||||
|
|
||||||
api.sendMessage = function sendMessage () {
|
|
||||||
return;
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = api;
|
|
||||||
Reference in New Issue
Block a user