chore: debug
This commit is contained in:
parent
e64ecfd023
commit
7b277a8020
1 changed files with 8 additions and 0 deletions
|
|
@ -37,6 +37,14 @@ module.exports = async function () {
|
|||
observable.subscribe({
|
||||
next: async ({ data }) => {
|
||||
const { selectManyUser } = data
|
||||
|
||||
logger.debug(
|
||||
{
|
||||
userIds: selectManyUser.map(({ id }) => id),
|
||||
},
|
||||
"userTable"
|
||||
)
|
||||
|
||||
await async.eachOf(selectManyUser, async ({ id }) =>
|
||||
addTask(tasks.DEFAULT_SWAG_USERNAME, { userId: id })
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue