mirror of
https://github.com/usememos/memos.git
synced 2025-10-11 06:47:04 +08:00
chore: update version to 0.8.2
(#722)
This commit is contained in:
parent
66418d4210
commit
dd6e2337e6
2 changed files with 3 additions and 2 deletions
|
@ -69,6 +69,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
|
||||||
}
|
}
|
||||||
|
|
||||||
userID, ok := c.Get(getUserIDContextKey()).(int)
|
userID, ok := c.Get(getUserIDContextKey()).(int)
|
||||||
|
// Get database size for host user.
|
||||||
if ok {
|
if ok {
|
||||||
user, err := s.Store.FindUser(ctx, &api.UserFind{
|
user, err := s.Store.FindUser(ctx, &api.UserFind{
|
||||||
ID: &userID,
|
ID: &userID,
|
||||||
|
|
|
@ -7,10 +7,10 @@ import (
|
||||||
|
|
||||||
// Version is the service current released version.
|
// Version is the service current released version.
|
||||||
// Semantic versioning: https://semver.org/
|
// Semantic versioning: https://semver.org/
|
||||||
var Version = "0.8.1"
|
var Version = "0.8.2"
|
||||||
|
|
||||||
// DevVersion is the service current development version.
|
// DevVersion is the service current development version.
|
||||||
var DevVersion = "0.8.1"
|
var DevVersion = "0.8.2"
|
||||||
|
|
||||||
func GetCurrentVersion(mode string) string {
|
func GetCurrentVersion(mode string) string {
|
||||||
if mode == "dev" {
|
if mode == "dev" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue