Merged in feature/textextraction (pull request #110)
Text Extraction * bases * go * splitting * structure * movetoasync * movetoasync * settinguptrigger * reorder * storevent * standardisepollingvalidation * unittests * fixlint * fixlint * awscfg * generatesample * followthrough * tests * clena * store * externalidcleanup * clientid * local * baseunittests * putobjecttests * tests
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func (s *Controllers) ListDocumentsByClientId(ctx echo.Context, clientId ClientID) error {
|
||||
documents, err := s.svc.Document.ListByClientExternalId(ctx.Request().Context(), clientId)
|
||||
documents, err := s.svc.Document.ListByClient(ctx.Request().Context(), clientId)
|
||||
if err != nil {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Unable to list documents: %s", err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user