From 935c860d4ca62191231b32923da9f91604563983 Mon Sep 17 00:00:00 2001
From: Mark Ferrell <major@homeonderanged.org>
Date: Wed, 15 Jan 2025 06:19:40 -0800
Subject: [PATCH] fix: change Credit from int to int64

Extracted from fork https://github.com/henrybear327/go-proton-api
---
 user_types.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/user_types.go b/user_types.go
index 61af703..0d0100c 100644
--- a/user_types.go
+++ b/user_types.go
@@ -11,7 +11,7 @@ type User struct {
 	MaxSpace  uint64
 	MaxUpload uint64
 
-	Credit   int
+	Credit   int64
 	Currency string
 
 	ProductUsedSpace ProductUsedSpace