summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 026ae7b..f3959bf 100644
--- a/data.c
+++ b/data.c
@@ -1542,7 +1542,7 @@ void notify_add(snac *snac, const char *type, const char *utype,
1542xs_dict *notify_get(snac *snac, const char *id) 1542xs_dict *notify_get(snac *snac, const char *id)
1543/* gets a notification */ 1543/* gets a notification */
1544{ 1544{
1545 xs *fn = xs_fmt("%s/notify/%s.json", snac->basedir); 1545 xs *fn = xs_fmt("%s/notify/%s.json", snac->basedir, id);
1546 FILE *f; 1546 FILE *f;
1547 xs_dict *out = NULL; 1547 xs_dict *out = NULL;
1548 1548