Skip to content

Commit eee2652

Browse files
Artur Dobrogowskiamotl
authored andcommitted
Fixed annotations tags and userid params
1 parent 170121a commit eee2652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grafana_client/elements/annotations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ def get_annotation(
5252
params.append("panelId=%s" % panel_id)
5353

5454
if user_id:
55-
params.append("userId=%s", user_id)
55+
params.append("userId=%s" % user_id)
5656

5757
if ann_type:
58-
params.append("type=%s", ann_type)
58+
params.append("type=%s" % ann_type)
5959

6060
if tags:
6161
for tag in tags:

0 commit comments

Comments
 (0)