mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Rename AddHandlerCtx to AddHandler (#43557)
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
||||
)
|
||||
|
||||
func (ss *SQLStore) addAPIKeysQueryAndCommandHandlers() {
|
||||
bus.AddHandlerCtx("sql", ss.GetAPIKeys)
|
||||
bus.AddHandlerCtx("sql", ss.GetApiKeyById)
|
||||
bus.AddHandlerCtx("sql", ss.GetApiKeyByName)
|
||||
bus.AddHandlerCtx("sql", ss.DeleteApiKey)
|
||||
bus.AddHandlerCtx("sql", ss.AddAPIKey)
|
||||
bus.AddHandler("sql", ss.GetAPIKeys)
|
||||
bus.AddHandler("sql", ss.GetApiKeyById)
|
||||
bus.AddHandler("sql", ss.GetApiKeyByName)
|
||||
bus.AddHandler("sql", ss.DeleteApiKey)
|
||||
bus.AddHandler("sql", ss.AddAPIKey)
|
||||
}
|
||||
|
||||
// GetAPIKeys queries the database based
|
||||
|
||||
Reference in New Issue
Block a user