Skip to content

[BE] Create Delete Rekomendasi Review 86eqqc6kh #141

[BE] Create Delete Rekomendasi Review 86eqqc6kh

[BE] Create Delete Rekomendasi Review 86eqqc6kh #141

Triggered via pull request November 29, 2024 06:21
Status Failure
Total duration 1m 6s
Artifacts

codecheck.yml

on: pull_request
Run eslint and typescript check
54s
Run eslint and typescript check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L69
Replace `{·error:·'failed·to·create·voucher·review',·formErrors:·[],·fieldErrors:·{·error:·['failed·to·create·voucher·review']·}·},·400` with `⏎········{⏎··········error:·'failed·to·create·voucher·review',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['failed·to·create·voucher·review']·},⏎········},⏎········400,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L71
Replace `{·error:·'Something·went·wrong',·formErrors:·[],·fieldErrors:·{·error:·['Something·went·wrong']·}·},·500` with `⏎········{⏎··········error:·'Something·went·wrong',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['Something·went·wrong']·},⏎········},⏎········500,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L95
Replace `{·error:·'failed·to·create·co-working·space·review',·formErrors:·[],·fieldErrors:·{·error:·['failed·to·create·co-working·space·review']·}·},·400` with `⏎········{⏎··········error:·'failed·to·create·co-working·space·review',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['failed·to·create·co-working·space·review']·},⏎········},⏎········400,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L97
Replace `{·error:·'Something·went·wrong',·formErrors:·[],·fieldErrors:·{·error:·['Something·went·wrong']·}·},·500` with `⏎········{⏎··········error:·'Something·went·wrong',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['Something·went·wrong']·},⏎········},⏎········500,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L108
Replace `{·error:·'Voucher·review·not·found',·formErrors:·[],·fieldErrors:·{·error:·['Voucher·review·not·found']·}·},·404` with `⏎······{⏎········error:·'Voucher·review·not·found',⏎········formErrors:·[],⏎········fieldErrors:·{·error:·['Voucher·review·not·found']·},⏎······},⏎······404,⏎····`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L122
Replace `{·error:·'failed·to·delete·voucher',·formErrors:·[],·fieldErrors:·{·error:·['Unauthorized']·}·},·400` with `⏎········{⏎··········error:·'failed·to·delete·voucher',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['Unauthorized']·},⏎········},⏎········400,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L126
Replace `{·error:·'failed·to·delete·voucher',·formErrors:·[],·fieldErrors:·{·error:·['failed·to·delete·voucher']·}·},·400` with `⏎········{⏎··········error:·'failed·to·delete·voucher',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['failed·to·delete·voucher']·},⏎········},⏎········400,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L128
Replace `{·error:·'Something·went·wrong',·formErrors:·[],·fieldErrors:·{·error:·['Something·went·wrong']·}·},·500` with `⏎········{⏎··········error:·'Something·went·wrong',⏎··········formErrors:·[],⏎··········fieldErrors:·{·error:·['Something·went·wrong']·},⏎········},⏎········500,⏎······`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L137
Replace `·coWorkingSpaceId,·userId` with `⏎····coWorkingSpaceId,⏎····userId,⏎·`
Run eslint and typescript check: src/controllers/recommendation.controller.ts#L139
Replace `{·error:·'Co-working·space·review·not·found',·formErrors:·[],·fieldErrors:·{·error:·['Co-working·space·review·not·found']·}·},·404` with `⏎······{⏎········error:·'Co-working·space·review·not·found',⏎········formErrors:·[],⏎········fieldErrors:·{·error:·['Co-working·space·review·not·found']·},⏎······},⏎······404,⏎····`
Run eslint and typescript check: src/repositories/recommendation.repo.ts#L16
'GetVoucherReviewParamsSchema' is defined but never used
Run eslint and typescript check: src/routes/recommendation.route.ts#L20
'ErrorSchema' is defined but never used
Run eslint and typescript check: src/routes/recommendation.route.ts#L22
'ServerErrorSchema' is defined but never used
Run eslint and typescript check: src/routes/recommendation.route.ts#L23
'ValidationErrorSchema' is defined but never used