fix alter table command for postgres

Этот коммит содержится в:
Florian Orben
2015-11-06 00:07:44 +01:00
родитель 17a17c336c
Коммит 7e3b53c37b
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@@ -992,6 +992,7 @@ func incomingWebhook(c *api.Context, w http.ResponseWriter, r *http.Request) {
channelName := parsedRequest.ChannelName
webhookType := parsedRequest.Type
//attachments is in here for slack compatibility
if parsedRequest.Attachments != nil {
if len(parsedRequest.Props) == 0 {
parsedRequest.Props = make(model.StringInterface)