chore: Use ES modules for backend app
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import User from '../../models/user';
|
||||
import User from '../../models/user.js';
|
||||
|
||||
const getUser = async (_parent, params, context) => {
|
||||
context.currentUser.can('read', 'User');
|
||||
|
Reference in New Issue
Block a user