Skip to content

Commit

Permalink
Fix missing error call
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewgdewar committed Dec 13, 2024
1 parent 65688d0 commit 88c56b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/handler/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,10 @@ func (rh *RepositoryHandler) createUpload(c echo.Context) error {

existingUUID, completedChunks, err := ph.DaoRegistry.Uploads.GetExistingUploadIDAndCompletedChunks(c.Request().Context(), orgId, req.Sha256, req.ChunkSize)

if err != nil {
return err
}

if existingUUID != "" {
resp := &api.UploadResponse{
UploadUuid: &existingUUID,
Expand Down

0 comments on commit 88c56b8

Please sign in to comment.