mirror of
https://github.com/safing/structures
synced 2025-04-23 02:29:07 +00:00
Fix missing changes
This commit is contained in:
parent
4ac40dc74c
commit
52f9389a1a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue