mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-25 09:03:44 +00:00
make leaderboard ephemeral
This commit is contained in:
parent
6e0afaff2e
commit
0a3d526649
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ func HandleLeaderboardSlashCommand(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
resp, _ := json.Marshal(map[string]interface{}{
|
resp, _ := json.Marshal(map[string]interface{}{
|
||||||
"blocks": blocks,
|
"blocks": blocks,
|
||||||
"response_type": "in_channel",
|
"response_type": "ephemeral",
|
||||||
})
|
})
|
||||||
|
|
||||||
w.Header().Add("Content-Type", "application/json")
|
w.Header().Add("Content-Type", "application/json")
|
||||||
|
|
Loading…
Reference in a new issue