diff --git a/api/certificate/issue.go b/api/certificate/issue.go index 1500d936..3cc5fe74 100644 --- a/api/certificate/issue.go +++ b/api/certificate/issue.go @@ -98,12 +98,9 @@ func IssueCert(c *gin.Context) { // block, until errChan closes for err = range errChan { - log.Error(err) - // Save logs to db log.Exit() - err = ws.WriteJSON(IssueCertResponse{ Status: Error, Message: err.Error(), @@ -112,7 +109,6 @@ func IssueCert(c *gin.Context) { logger.Error(err) return } - return } diff --git a/app/src/components/Notification/detailRender.ts b/app/src/components/Notification/detailRender.ts index 5639c0bb..3d4ff7dd 100644 --- a/app/src/components/Notification/detailRender.ts +++ b/app/src/components/Notification/detailRender.ts @@ -58,7 +58,7 @@ export function detailRender(args: CustomRender) { return args.text } } - // eslint-disable-next-line sonarjs/no-ignored-exceptions + // eslint-disable-next-line sonarjs/no-ignored-exceptions,unused-imports/no-unused-vars catch (e) { return args.text } diff --git a/app/src/components/OTPInput/OTPInput.vue b/app/src/components/OTPInput/OTPInput.vue index 39fc6947..6841b052 100644 --- a/app/src/components/OTPInput/OTPInput.vue +++ b/app/src/components/OTPInput/OTPInput.vue @@ -4,6 +4,8 @@ import VOtpInput from 'vue3-otp-input' const emit = defineEmits(['onComplete']) const data = defineModel() + +// eslint-disable-next-line vue/require-typed-ref const refOtp = ref() function onComplete(value: string) { diff --git a/app/src/components/SensitiveString/SensitiveString.vue b/app/src/components/SensitiveString/SensitiveString.vue index 12fb7bdc..407e1a7e 100644 --- a/app/src/components/SensitiveString/SensitiveString.vue +++ b/app/src/components/SensitiveString/SensitiveString.vue @@ -1,6 +1,5 @@