From 5dd06b4136aead1d4c8ef835f0670c32ae321152 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Thu, 1 Feb 2024 10:11:53 -0800 Subject: [PATCH] tpl/data: Fix GetCSV deprecation message --- tpl/data/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/data/data.go b/tpl/data/data.go index 78f1f3f48e2..097cfe4a80d 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