mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +00:00
typos--
This commit is contained in:
parent
bcce102388
commit
1fca733818
3 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ func (a *api) testDeviceHandler(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
d, err := a.deviceRepo.GetByAPNSToken(ctx, tok)
|
||||
if err != nil {
|
||||
a.logger.Error("failed fetching device from database", zap.Error(err))
|
||||
a.logger.Error("failed to fetch device from database", zap.Error(err))
|
||||
a.errorResponse(w, r, 500, err)
|
||||
return
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ func generateNotificationTester(a *api, fun notificationGenerator) func(w http.R
|
|||
|
||||
d, err := a.deviceRepo.GetByAPNSToken(ctx, tok)
|
||||
if err != nil {
|
||||
a.logger.Info("failed fetching device from database", zap.Error(err))
|
||||
a.logger.Info("failed to fetch device from database", zap.Error(err))
|
||||
a.errorResponse(w, r, 500, err)
|
||||
return
|
||||
}
|
||||
|
|
|
@ -205,7 +205,7 @@ func (sc *subredditsConsumer) Consume(delivery rmq.Delivery) {
|
|||
)
|
||||
|
||||
if err != nil {
|
||||
sc.logger.Error("failed fetchint new posts",
|
||||
sc.logger.Error("failed to fetch new posts",
|
||||
zap.Error(err),
|
||||
zap.Int64("subreddit#id", id),
|
||||
zap.String("subreddit#name", subreddit.NormalizedName()),
|
||||
|
|
Loading…
Reference in a new issue