We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c2a0e9 + ffa7e5e commit 5e4a087Copy full SHA for 5e4a087
1 file changed
src/grafana.coffee
@@ -158,7 +158,7 @@ module.exports = (robot) ->
158
159
# Search dashboards
160
robot.respond /(?:grafana|graph|graf) search (.+)/i, (msg) ->
161
- query = msg.match[2].trim()
+ query = msg.match[1].trim()
162
robot.logger.debug query
163
callGrafana "search?query=#{query}", (dashboards) ->
164
robot.logger.debug dashboards
0 commit comments