diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 39a3b870..0474fb42 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -160,7 +160,7 @@ jobs: uses: matt-ball/newman-action@master with: postmanApiKey: ${{ secrets.POSTMAN_API }} - collection: ./dev/postman.json + collection: 1898229-94807b85-ef65-4370-9144-b1a74e04cb0e environment: ./dev/postman_environment.json timeoutRequest: 15000 delayRequest: 1000 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 5ea53174..2e3ea54c 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -182,7 +182,7 @@ jobs: uses: matt-ball/newman-action@master with: postmanApiKey: ${{ secrets.POSTMAN_API }} - collection: ./dev/postman.json + collection: 1898229-94807b85-ef65-4370-9144-b1a74e04cb0e environment: ./dev/postman_environment.json timeoutRequest: 15000 delayRequest: 1000 diff --git a/types/null/marshal.go b/types/null/marshal.go index 1b7a51eb..dae3e551 100644 --- a/types/null/marshal.go +++ b/types/null/marshal.go @@ -37,7 +37,7 @@ func (s NullString) MarshalJSON() ([]byte, error) { return json.Marshal(s.String) } -// MarshalJSON for NullInt64 +// MarshalYAML for NullInt64 func (i NullInt64) MarshalYAML() (interface{}, error) { if !i.Valid { return 0, nil @@ -45,7 +45,7 @@ func (i NullInt64) MarshalYAML() (interface{}, error) { return yaml.Marshal(i.Int64) } -// MarshalJSON for NullFloat64 +// MarshalYAML for NullFloat64 func (f NullFloat64) MarshalYAML() (interface{}, error) { if !f.Valid { return 0.0, nil @@ -53,7 +53,7 @@ func (f NullFloat64) MarshalYAML() (interface{}, error) { return yaml.Marshal(f.Float64) } -// MarshalJSON for NullBool +// MarshalYAML for NullBool func (bb NullBool) MarshalYAML() (interface{}, error) { if !bb.Valid { return false, nil @@ -61,7 +61,7 @@ func (bb NullBool) MarshalYAML() (interface{}, error) { return yaml.Marshal(bb.Bool) } -// MarshalJSON for NullString +// MarshalYAML for NullString func (s NullString) MarshalYAML() (interface{}, error) { if !s.Valid { return "", nil