Skip to content

Commit

Permalink
refactor: update package name from account to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Sep 12, 2024
1 parent 0b8a476 commit e063380
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package account
package dashboard

import "go.lumeweb.com/portal/config"

Expand Down
4 changes: 2 additions & 2 deletions dashboard.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package account
package dashboard

import (
"embed"
Expand Down Expand Up @@ -60,7 +60,7 @@ func (a *AccountAPI) Config() config.APIConfig {
}

func (a *AccountAPI) Name() string {
return "account"
return "dashboard"
}

func NewAccountAPI() (*AccountAPI, []core.ContextBuilderOption, error) {
Expand Down
2 changes: 1 addition & 1 deletion messages.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package account
package dashboard

type LoginRequest struct {
Email string `json:"email"`
Expand Down

0 comments on commit e063380

Please sign in to comment.