Skip to content

Commit e9d5bc8

Browse files
authored
Merge pull request #5 from TeamPickle:fix-get-all-domestic-data
fix: get all domestic data
2 parents 6a90e97 + 5b73190 commit e9d5bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function/commands/status/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
func handleDomesticRegion(ctx context.Context, regionName string, boardData *coronaboard.CoronaBoardData) *api.InteractionResponse {
2222
var status *coronaboard.DomesticNowStatus
2323
for _, v := range boardData.StatDomesticNow {
24-
if v.Region == regionName {
24+
if v.Region == regionName || (regionName == "전국" && v.Region == "합계") {
2525
status = &v
2626
break
2727
}

0 commit comments

Comments
 (0)