mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 11:38:55 +00:00
Fix frontend endpoints for service tokens and patch secret index.d.ts error
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
import { Log, ILog } from '../models';
|
||||
import * as Sentry from '@sentry/node';
|
||||
import {
|
||||
EVENT_PUSH_SECRETS,
|
||||
EVENT_PULL_SECRETS
|
||||
} from '../variables';
|
||||
|
||||
|
||||
const handleLogHelper = async ({
|
||||
log
|
||||
}: {
|
||||
log: ILog
|
||||
}) => {
|
||||
try {
|
||||
switch (log.event) {
|
||||
case EVENT_PULL_SECRETS:
|
||||
// TODO
|
||||
break;
|
||||
}
|
||||
|
||||
} catch (err){
|
||||
Sentry.setUser(null);
|
||||
Sentry.captureException(err);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user