fix: use SoraObjectStorage interface for storage router compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
erioandClaude Opus 4.6 committed 2026-03-07 19:23:59 +08:00
1 parent 2b510b6aed
commit a64dca7c41
2 files changed
+9 -9

No files matched your search

@@ -15,7 +15,7 @@ import (
type SoraVideosHandler struct {
taskService *service.SoraTaskService
gatewayService *service.GatewayService
objectStorage *service.SoraS3Storage
objectStorage service.SoraObjectStorage
mediaStorage *service.SoraMediaStorage
soraGatewayService *service.SoraGatewayService
}
@@ -23,7 +23,7 @@ type SoraVideosHandler struct {
func NewSoraVideosHandler(
taskService *service.SoraTaskService,
gatewayService *service.GatewayService,
objectStorage *service.SoraS3Storage,
objectStorage service.SoraObjectStorage,
mediaStorage *service.SoraMediaStorage,
soraGatewayService *service.SoraGatewayService,
) *SoraVideosHandler {