chore: update server profile

This commit is contained in:
boojack
2022-05-22 09:29:34 +08:00
parent 0b3c77c79c
commit c3c2882dc5
8 changed files with 56 additions and 58 deletions

View File

@ -4,8 +4,8 @@ import (
"fmt"
"os"
"memos/common"
"memos/server"
"memos/server/profile"
"memos/store"
DB "memos/store/db"
)
@ -22,7 +22,7 @@ const (
)
type Main struct {
profile *common.Profile
profile *profile.Profile
}
func (m *Main) Run() error {
@ -44,7 +44,7 @@ func (m *Main) Run() error {
}
func Execute() {
profile := common.GetProfile()
profile := profile.GetProfile()
m := Main{
profile: profile,
}