Undo changes
This commit is contained in:
parent
db48e913e9
commit
7126534bd2
|
@ -17,10 +17,6 @@ export default class AuditLogsProcessor implements EventProcessor {
|
|||
static auditLogsEnabled = false
|
||||
static auditLogQueue: BullQueue.Queue<AuditLogQueueEvent>
|
||||
|
||||
get queue() {
|
||||
return AuditLogsProcessor.auditLogQueue
|
||||
}
|
||||
|
||||
// can't use constructor as need to return promise
|
||||
static init(fn: AuditLogFn) {
|
||||
AuditLogsProcessor.auditLogsEnabled = true
|
||||
|
|
|
@ -5,8 +5,8 @@ import Processors from "./Processors"
|
|||
import { AuditLogFn } from "@budibase/types"
|
||||
|
||||
export const analyticsProcessor = new AnalyticsProcessor()
|
||||
export const loggingProcessor = new LoggingProcessor()
|
||||
export const auditLogsProcessor = new AuditLogsProcessor()
|
||||
const loggingProcessor = new LoggingProcessor()
|
||||
const auditLogsProcessor = new AuditLogsProcessor()
|
||||
|
||||
export function init(auditingFn: AuditLogFn) {
|
||||
return AuditLogsProcessor.init(auditingFn)
|
||||
|
|
Loading…
Reference in New Issue