From 3f0c28a815ae0107342883f7e6bdca79fc18b45a Mon Sep 17 00:00:00 2001
From: Jake Sanders <jake@micro.mu>
Date: Tue, 3 Mar 2020 18:15:50 +0000
Subject: [PATCH] Expiration is actually a unix timestamp (#1290)

* Expiration is actually a unix timestamp

* int -> int64
---
 store/cloudflare/cloudflare.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/store/cloudflare/cloudflare.go b/store/cloudflare/cloudflare.go
index f36f644a..07d2113f 100644
--- a/store/cloudflare/cloudflare.go
+++ b/store/cloudflare/cloudflare.go
@@ -47,12 +47,12 @@ type apiResponse struct {
 		ID         string    `json:"id"`
 		Type       string    `json:"type"`
 		Name       string    `json:"name"`
-		Expiration string    `json:"expiration"`
+		Expiration int64     `json:"expiration"`
 		Content    string    `json:"content"`
 		Proxiable  bool      `json:"proxiable"`
 		Proxied    bool      `json:"proxied"`
-		TTL        int       `json:"ttl"`
-		Priority   int       `json:"priority"`
+		TTL        int64     `json:"ttl"`
+		Priority   int64     `json:"priority"`
 		Locked     bool      `json:"locked"`
 		ZoneID     string    `json:"zone_id"`
 		ZoneName   string    `json:"zone_name"`