A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update shortID
aichy126023f12babdf1
diff --git a/pkg/uid/sid.go b/pkg/uid/sid.goindex 50988ed2..2e9f5117 100644--- a/pkg/uid/sid.go+++ b/pkg/uid/sid.go@@ -48,7 +48,7 @@ func EnShortID(id string) string {if ShortIDSwitch {num, err := strconv.ParseInt(id, 10, 64)if err != nil {- return ""+ return id}return NumToShortID(num)}