diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2024-02-01 10:11:53 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-02-01 19:21:15 +0100 |
commit | 5dd06b4136aead1d4c8ef835f0670c32ae321152 (patch) | |
tree | 7f47e7fc706c2f8ff4b40e41ef0ac083a4f6816e | |
parent | f5ec75db36eb24497bc9c8c42e39654d31f7582b (diff) |
tpl/data: Fix GetCSV deprecation message
-rw-r--r-- | tpl/data/data.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/data/data.go b/tpl/data/data.go index 78f1f3f48..097cfe4a8 100644 --- a/tpl/data/data.go +++ b/tpl/data/data.go @@ -64,7 +64,7 @@ type Namespace struct { // If you provide multiple parts for the URL they will be joined together to the final URL. // GetCSV returns nil or a slice slice to use in a short code. func (ns *Namespace) GetCSV(sep string, args ...any) (d [][]string, err error) { - hugo.Deprecate("data.GetJSON", "use resources.Get or resources.GetRemote with transform.Unmarshal.", "v0.123.0") + hugo.Deprecate("data.GetCSV", "use resources.Get or resources.GetRemote with transform.Unmarshal.", "v0.123.0") url, headers := toURLAndHeaders(args) cache := ns.cacheGetCSV |