temporary remove ctx from connector func

This commit is contained in:
Ilia Denisov
2026-03-14 19:47:47 +02:00
parent 16f46732cf
commit c2d2cebe3e
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
package connector
import (
"context"
"galaxy/model/client"
"galaxy/model/report"
)
@@ -26,7 +25,7 @@ type UIConnector interface {
// FetchReport asynchronously requests from backend server a [report.Report] for a given [model.GameID] and turn number.
// Passed callback func will will accept non-nil error in case of I/O or decoding errors occuried,
// otherwise callback func accepts loaded [report.Report].
FetchReport(context.Context, client.GameID, uint, func(report.Report, error))
FetchReport(client.GameID, uint, func(report.Report, error))
}
type VersionInfo struct {