Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 6d8fde6

Browse files
committed
Correcting all code occurrences leftover.
1 parent 6c4fbec commit 6d8fde6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var (
5858
// w.Header().Set("Content-Type", jsonapi.MediaType)
5959
// w.WriteHeader(201)
6060
//
61-
// if err := jsonapi.MarshalOnePayload(w, blog); err != nil {
61+
// if err := jsonapi.MarshalPayload(w, blog); err != nil {
6262
// http.Error(w, err.Error(), 500)
6363
// }
6464
// }

response_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ func TestMarshalPayloadWithoutIncluded(t *testing.T) {
653653
}
654654
}
655655

656-
func TestMarshalMany(t *testing.T) {
656+
func TestMarshalPayload_many(t *testing.T) {
657657
data := []interface{}{
658658
&Blog{
659659
ID: 5,

0 commit comments

Comments
 (0)