first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
module.exports = (parent, args, context, info) => {
|
||||
if (parent.profile) {
|
||||
return parent.profile;
|
||||
} else {
|
||||
return parent.getProfile();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user