refs 5666 feat: remove loggable.js file

This commit is contained in:
Javier Segarra 2023-11-28 07:48:42 +01:00
parent 384b5eb7c7
commit 50a97693b9
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
const LoopBackContext = require('loopback-context');
module.exports = function(Self) {
Self.setup = function() {
Self.super_.setup.call(this);
};
Self.observe('before save', async function(ctx) {
ctx.options.httpCtx = LoopBackContext.getCurrentContext();
});
Self.observe('before delete', async function(ctx) {
ctx.options.httpCtx = LoopBackContext.getCurrentContext();
});
};