Răsfoiți Sursa

Mastoapi: fixed an error the edited_at field.

default 2 ani în urmă
părinte
comite
49d707078b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      mastoapi.c

+ 1 - 1
mastoapi.c

@@ -993,7 +993,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
         tmp = fd2;
     }
 
-    st = xs_dict_append(st, "edited_at", fd2);
+    st = xs_dict_append(st, "edited_at", tmp);
 
     if (strcmp(type, "Question") == 0) {
         xs *poll = mastoapi_poll(snac, msg);