aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/hooks/populate-user.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/populate-user.js')
-rw-r--r--src/hooks/populate-user.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hooks/populate-user.js b/src/hooks/populate-user.js
new file mode 100644
index 0000000..dfa58cf
--- /dev/null
+++ b/src/hooks/populate-user.js
@@ -0,0 +1,9 @@
+// Use this hook to manipulate incoming or outgoing data.
+// For more information on hooks see: http://docs.feathersjs.com/api/hooks.html
+
+// eslint-disable-next-line no-unused-vars
+module.exports = function (options = {}) {
+ return async context => {
+ return context;
+ };
+};