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