mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Move api key models into apikey service package (#53241)
* Chore: move api key models into apikey service package * force table name for api key
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/grafana/grafana/pkg/models"
|
||||
"github.com/grafana/grafana/pkg/services/accesscontrol"
|
||||
"github.com/grafana/grafana/pkg/services/apikey"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -68,7 +69,7 @@ type AddServiceAccountTokenCommand struct {
|
||||
OrgId int64 `json:"-"`
|
||||
Key string `json:"-"`
|
||||
SecondsToLive int64 `json:"secondsToLive"`
|
||||
Result *models.ApiKey `json:"-"`
|
||||
Result *apikey.APIKey `json:"-"`
|
||||
}
|
||||
|
||||
// swagger: model
|
||||
|
||||
Reference in New Issue
Block a user