Fix missing changes

This commit is contained in:
Daniel Hååvi 2025-02-21 09:51:51 +00:00
parent 4ac40dc74c
commit 52f9389a1a

View file

@ -65,7 +65,7 @@ func DumpToHTTPRequest(r *http.Request, t interface{}, format uint8) error {
}
// Serialize data.
data, err := dumpWithoutIdentifier(t, format, "")
data, err := DumpWithoutIdentifier(t, format, "")
if err != nil {
return fmt.Errorf("dsd: failed to serialize: %w", err)
}
@ -117,7 +117,7 @@ func MimeDump(t any, accept string) (data []byte, mimeType string, format uint8,
}
// Serialize and return.
data, err = dumpWithoutIdentifier(t, format, "")
data, err = DumpWithoutIdentifier(t, format, "")
return data, mimeType, format, err
}