mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 20:01:19 +08:00
Fixed another import
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const DataLoader = require('dataloader');
|
||||
|
||||
const UserService = require('../../models/user');
|
||||
const UsersService = require('../../services/users');
|
||||
|
||||
const genUserByIDs = (context, ids) => UserService.findByIdArray(ids);
|
||||
const genUserByIDs = (context, ids) => UsersService.findByIdArray(ids);
|
||||
|
||||
/**
|
||||
* Creates a set of loaders based on a GraphQL context.
|
||||
|
||||
Reference in New Issue
Block a user