mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Made API handling better, removed unused components
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
// Typed errors
|
||||
var (
|
||||
ErrPreferenceNotFound = errors.New("Preference not found")
|
||||
ErrPreferencesNotFound = errors.New("Preferences not found")
|
||||
)
|
||||
|
||||
type Preferences struct {
|
||||
@@ -23,7 +23,7 @@ type GetPreferencesQuery struct {
|
||||
PrefId int64
|
||||
PrefType string
|
||||
|
||||
Result PreferencesDTO
|
||||
Result *Preferences
|
||||
}
|
||||
|
||||
// ---------------------
|
||||
|
||||
Reference in New Issue
Block a user