From 85c7e21d10285c2d0705a3cae6e80c40416883be Mon Sep 17 00:00:00 2001 From: nekobit Date: Wed, 17 Aug 2022 04:38:29 +0000 Subject: [PATCH] Switch type FossilOrigin-Name: 9b1bc1e9501f783f858d7aaed5723370f3bb7300c5b13df20655a41bfd265270 --- src/notifications.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifications.c b/src/notifications.c index 79a1429..db85bda 100644 --- a/src/notifications.c +++ b/src/notifications.c @@ -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));