From 790b1234109cc0e4b4cc8c90aecba4fe7a4a06e0 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 26 Dec 2024 22:41:11 +0800 Subject: [PATCH] :bug: Fix backward compability --- pkg/internal/models/attachments.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/internal/models/attachments.go b/pkg/internal/models/attachments.go index 7e15b9b..3b0a09d 100644 --- a/pkg/internal/models/attachments.go +++ b/pkg/internal/models/attachments.go @@ -51,4 +51,7 @@ type Attachment struct { PoolID *uint `json:"pool_id"` AccountID uint `json:"account_id"` + + // Outdated fields, just for backward compatibility + IsMature bool `json:"is_mature"` }