mirror of
https://github.com/strapi/strapi.git
synced 2025-07-09 10:02:51 +00:00
14 lines
198 B
JavaScript
14 lines
198 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
const me = require('./me');
|
||
|
|
||
|
module.exports = ({ nexus }) => {
|
||
|
return nexus.extendType({
|
||
|
type: 'Query',
|
||
|
|
||
|
definition(t) {
|
||
|
t.field('me', me({ nexus }));
|
||
|
},
|
||
|
});
|
||
|
};
|