This commit is contained in:
Caleb Denio 2020-11-19 11:58:39 -05:00
parent b320a48798
commit a6ecd85fff

View file

@ -147,8 +147,8 @@ func HandleLeaderboardSlashCommand(w http.ResponseWriter, r *http.Request) {
} }
resp, _ := json.Marshal(map[string]interface{}{ resp, _ := json.Marshal(map[string]interface{}{
"blocks": blocks, "blocks": blocks,
"respose_type": "in_channel", "response_type": "in_channel",
}) })
w.Header().Add("Content-Type", "application/json") w.Header().Add("Content-Type", "application/json")