A fork of the Cocoon PDS but being made more distributed.
11

Configure Feed

Select the types of activity you want to include in your feed.

never return null for collections in describeRepo (#7)

in a repo with no records, the collections field here ends up being the
nil slice instead of an empty slice, so you get null in the response.

since collections is a required field in the rpc def we shouldn't do this,
it breaks pdsls at least.

authored by

charlotte ✨ and committed by
GitHub
(Apr 28, 2025, 3:32 PM -0700) affaa58b 155cf40d

+1 -1
+1 -1
server/handle_repo_describe_repo.go
··· 69 69 return helpers.ServerError(e, nil) 70 70 } 71 71 72 - var collections []string 72 + var collections []string = make([]string, 0) 73 73 for _, r := range records { 74 74 collections = append(collections, r.Nsid) 75 75 }