Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
remoterami committed Mar 25, 2024
1 parent be53522 commit 5ba6665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/pkg/api/data_access/data_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type DataAccessor interface {

GetValidatorDashboardOverview(dashboardId t.VDBId) (*t.VDBOverviewData, error)

CreateValidatorDashboardGroup(dashboardId t.VDBIdPrimary, name string) (*t.VDBOverviewGroup, error)
CreateValidatorDashboardGroup(dashboardId t.VDBIdPrimary, name string) (*t.VDBPostCreateGroupData, error)
RemoveValidatorDashboardGroup(dashboardId t.VDBIdPrimary, groupId uint64) error

GetValidatorDashboardGroupExists(dashboardId t.VDBIdPrimary, groupId uint64) (bool, error)
Expand Down
4 changes: 2 additions & 2 deletions backend/pkg/api/data_access/dummy.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ func (d *DummyService) RemoveValidatorDashboard(dashboardId t.VDBIdPrimary) erro
return nil
}

func (d *DummyService) CreateValidatorDashboardGroup(dashboardId t.VDBIdPrimary, name string) (*t.VDBOverviewGroup, error) {
r := t.VDBOverviewGroup{}
func (d *DummyService) CreateValidatorDashboardGroup(dashboardId t.VDBIdPrimary, name string) (*t.VDBPostCreateGroupData, error) {
r := t.VDBPostCreateGroupData{}
err := commonFakeData(&r)
return &r, err
}
Expand Down

0 comments on commit 5ba6665

Please sign in to comment.