Skip to content

Commit

Permalink
fix postprocessing too early in app provider
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Oct 24, 2022
1 parent 613c284 commit 6f4b53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/appprovider/appprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (s *svc) handleOpen(openMode int) http.HandlerFunc {
return
}

if status := utils.ReadPlainFromOpaque(statRes.Opaque, "status"); status == "processing" {
if status := utils.ReadPlainFromOpaque(statRes.Info.Opaque, "status"); status == "processing" {
writeError(w, r, appErrorTooEarly, "The requested file is not yet available, please try again later", nil)
return
}
Expand Down

0 comments on commit 6f4b53b

Please sign in to comment.