Switch type

FossilOrigin-Name: 9b1bc1e9501f783f858d7aaed5723370f3bb7300c5b13df20655a41bfd265270
This commit is contained in:
nekobit 2022-08-17 04:38:29 +00:00
parent 177636a08a
commit 85c7e21d10

View file

@ -393,7 +393,7 @@ HV* perlify_notification(struct mstdnt_notification* notif)
HV* notif_hv = newHV();
hvstores_str(notif_hv, "id", notif->id);
hvstores_str(notif_hv, "created_at", notif->created_at);
hvstores_int(notif_hv, "created_at", notif->created_at);
hvstores_str(notif_hv, "emoji", notif->emoji);
hvstores_str(notif_hv, "type", mstdnt_notification_t_to_str(notif->type));
hvstores_ref(notif_hv, "account", perlify_account(notif->account));