Skip to content

Commit

Permalink
Disable online-only parameter by default.
Browse files Browse the repository at this point in the history
In the endpoint `GET /v2/accounts`, disable the `online-only` parameter
by default.
  • Loading branch information
agodnic committed Feb 7, 2025
1 parent e0f025b commit dfda3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/disabled_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func GetDefaultDisabledMapConfigForPostgres() *DisabledMapConfig {
rval.addEntry(restPath, http.MethodGet, parameterNames)
}

get("/v2/accounts", []string{"currency-greater-than", "currency-less-than"})
get("/v2/accounts", []string{"currency-greater-than", "currency-less-than", "online-only"})
get("/v2/accounts/{account-id}/transactions", []string{"note-prefix", "tx-type", "sig-type", "asset-id", "before-time", "after-time", "rekey-to"})
get("/v2/assets", []string{"name", "unit"})
get("/v2/assets/{asset-id}/balances", []string{"currency-greater-than", "currency-less-than"})
Expand Down

0 comments on commit dfda3a8

Please sign in to comment.