Fix frontend endpoints for service tokens and patch secret index.d.ts error

This commit is contained in:
Tuan Dang
2023-01-05 19:25:33 +07:00
parent 6e125b9e74
commit 85cb3a11aa
7 changed files with 6 additions and 29 deletions
-25
View File
@@ -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);
}
}