Skip to content

Commit

Permalink
Merge pull request #33 from fy23-gw-gackathon/fix/#32_reports_response
Browse files Browse the repository at this point in the history
レポートレスポンス修正
  • Loading branch information
gari8 committed May 13, 2023
2 parents dd84d15 + c7d75ca commit 2da457e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (c *ReportController) GetReports(ctx *gin.Context) (interface{}, error) {
Timestamp: report.Timestamp,
})
}
return reportResponses, nil
return ReportsResponse{Reports: reportResponses}, nil
}

// GetReport godoc
Expand Down

0 comments on commit 2da457e

Please sign in to comment.