file service fix

This commit is contained in:
2026-01-27 21:03:15 +01:00
parent ea78a83d78
commit cb4fdb4071
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -8,9 +8,9 @@ type FileService struct {
FileRepository FileRepositoryInterface
}
func NewFileService() *FileService {
func NewFileService(file_repository FileRepositoryInterface) *FileService {
return &FileService{
FileRepository: NewFileRepository(),
FileRepository: file_repository,
}
}