Skip to content

Commit

Permalink
Remove time from Slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 committed Dec 26, 2018
1 parent afcd821 commit 366dc8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gateways/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package gateways
import (
"context"
"fmt"
"time"

"github.com/int128/amefurisobot/domain"
"github.com/int128/slack"
Expand Down Expand Up @@ -32,7 +31,6 @@ func (s *NotificationService) SendForecastMessage(ctx context.Context, recipient
Title: text,
TitleLink: message.WeatherURL,
ImageURL: message.ImageURL,
Timestamp: time.Now().Unix(),
}
err := s.Client.Send(ctx, recipient.SlackWebhookURL, slack.Message{
Attachments: []slack.Attachment{attachment},
Expand Down

0 comments on commit 366dc8f

Please sign in to comment.