🐛 Fix field naming issue

This commit is contained in:
LittleSheep 2025-01-11 20:49:21 +08:00
parent 5c24b4f547
commit fe94b96ce0

View File

@ -19,7 +19,7 @@ type ProductRelease struct {
Type ProductReleaseType `json:"type"` Type ProductReleaseType `json:"type"`
Channel string `json:"channel"` Channel string `json:"channel"`
Assets datatypes.JSONType[map[string]ReleaseAsset] `json:"assets"` Assets datatypes.JSONType[map[string]ReleaseAsset] `json:"assets"`
Runners datatypes.JSONType[map[string]ReleaseRunner] `json:"runner"` Runners datatypes.JSONType[map[string]ReleaseRunner] `json:"runners"`
Installers datatypes.JSONType[map[string]ReleaseInstaller] `json:"installers"` Installers datatypes.JSONType[map[string]ReleaseInstaller] `json:"installers"`
ProductID uint `json:"product_id"` ProductID uint `json:"product_id"`