Skip to content

Commit

Permalink
feat: system format make lint optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
longyuqing112 authored Mar 4, 2024
1 parent 83e008b commit 09bfa58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions internal/push/offlinepush/fcm/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,9 @@ func (f *Fcm) Push(ctx context.Context, userIDs []string, title, content string,
response, err := f.fcmMsgCli.SendAll(ctx, messages)
if err != nil {
Fail = Fail + messageCount
// log.Info(operationID, "some token push err", err.Error(), messageCount)
log.Info("Failed to send messages:", Fail)
} else {
Success = Success + response.SuccessCount
Fail = Fail + response.FailureCount
log.Info("Message sending summary: Success:", Success, "Fail:", Fail)
}
}
return nil
Expand Down
1 change: 1 addition & 0 deletions pkg/common/convert/black.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"context"

"github.com/OpenIMSDK/protocol/sdkws"
sdk "github.com/OpenIMSDK/protocol/sdkws"

"github.com/openimsdk/open-im-server/v3/pkg/common/db/table/relation"
)
Expand Down

0 comments on commit 09bfa58

Please sign in to comment.