Fix forbidden params list type
@@ -2,7 +2,6 @@ package query
const (
cacheResolveLongerThan = 10
- forbiddenParams = []string{paramAccountID, paramLbrynext}
paramAccountID = "account_id"
paramWalletID = "wallet_id"
@@ -24,6 +23,8 @@ const (
ParamPurchaseReceipt = "purchase_receipt"
)
+var forbiddenParams = []string{paramAccountID, paramLbrynext}
+
// relaxedMethods are methods which are allowed to be called without wallet_id.
var relaxedMethods = []string{
"blob_announce",
