ソースを参照

revert license response to limits tag for backward compatibility

Abhishek Kondur 2 年 前
コミット
f49219438b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      ee/types.go

+ 1 - 1
ee/types.go

@@ -46,7 +46,7 @@ type ValidatedLicense struct {
 // LicenseSecret - the encrypted struct for sending user-id
 type LicenseSecret struct {
 	AssociatedID string `json:"associated_id" binding:"required"` // UUID for user foreign key to User table
-	Usage        Usage  `json:"usage" binding:"required"`
+	Usage        Usage  `json:"limits" binding:"required"`
 }
 
 // Usage - struct for license usage