Bug: use wrong utils to map platformid to platformname #207
Labels
bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What happened?
in internal/chat/log.go:UploadLogs, using gorm/utils to map platform id to platformname
like
Platform: utils.ToString(req.Platform),
but should use constant utils defined in openimsdk/protocol
What did you expect to happen?
using protocol/constant 's PlatformIDToName function to map id to name
How can we reproduce it (as minimally and precisely as possible)?
watch that code
Anything else we need to know?
No response
version
Cloud provider
OS version
Install tools
The text was updated successfully, but these errors were encountered: