mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 23:37:28 +02:00
updated changelog and formatting
This commit is contained in:
1 parent
4c903684d8
commit
3ea02c945d
40 files changed
+62
-64
No files matched your search
@@ -14,7 +14,6 @@ type jsonArrayAlias[T any] JsonArray[T]
|
||||
|
||||
// MarshalJSON implements the [json.Marshaler] interface.
|
||||
func (m JsonArray[T]) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// initialize an empty map to ensure that `[]` is returned as json
|
||||
if m == nil {
|
||||
m = JsonArray[T]{}
|
||||
|
||||
Reference in new issue
Block a user