mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update server profile
This commit is contained in:
@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user