forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

wip

Changed files
+2 -3
appview
knotclient
-1
appview/signer.go
···
-
+2 -2
knotclient/unsigned.go
···
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
}
-
func (u *UnsignedClient) DefaultBranch(ownerDid, repoName string) (*types.RepoBranchResponse, error) {
+
func (u *UnsignedClient) DefaultBranch(ownerDid, repoName string) (*types.RepoDefaultBranchResponse, error) {
method := http.MethodGet
endpoint := fmt.Sprintf("/%s/%s/branches/default", ownerDid, repoName)
-
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
+
return do[types.RepoDefaultBranchResponse](u, method, endpoint, nil, nil)
}
func (u *UnsignedClient) Capabilities() (*types.Capabilities, error) {