Skip to content

Commit edd5b0d

Browse files
committed
Remove unused parameters in excel_adapter.go
1 parent 2a9e6cd commit edd5b0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/internal/excel_adapter/excel_adapter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type ExcelAdapter struct {
2525
}
2626

2727
func New(config ExcelAdapterConfig) ExcelAdapter {
28-
document := fetchDocument(config.Download, config.Parse)
28+
document := fetchDocument(config.Download)
2929

3030
return ExcelAdapter{
3131
document: document,
@@ -58,7 +58,7 @@ func (adapter ExcelAdapter) GetGlobalInfo() models.GlobalInfo {
5858
}
5959
}
6060

61-
func fetchDocument(downloadConfig internals.DownloadConfig, parseConfig internals.ParseConfig) internalModels.Document {
61+
func fetchDocument(downloadConfig internals.DownloadConfig) internalModels.Document {
6262
trace.Info().Str("id", downloadConfig.Id).Str("path", downloadConfig.Path).Str("name", downloadConfig.Name).Msg("fetch document")
6363

6464
file, err := os.Open(downloadConfig.Path)

0 commit comments

Comments
 (0)