MSP-8394 Remove dead code

This commit is contained in:
Синельник Тимур Романович committed 2026-09-23 20:47:07 +03:00
1 parent 484b669438
commit 8f6af4b871
3 files changed
+6 -12

No files matched your search

-7
View File
@@ -64,13 +64,6 @@ func (c Token) Create(ctx context.Context, req domain.TokenCreateRequest) (*doma
fmt.Sprintf("application with id %d not found", req.AppId),
err,
)
case errors.Is(err, domain.ErrAppGroupNotFound):
return nil, apierrors.New(
codes.NotFound,
domain.ErrCodeAppGroupNotFound,
fmt.Sprintf("service for app_id id %d not found", req.AppId),
err,
)
case err != nil:
return nil, err
default: