-1
appview/signer.go
-1
appview/signer.go
···
1
-
+2
-2
knotclient/unsigned.go
+2
-2
knotclient/unsigned.go
···
120
120
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
121
121
}
122
122
123
-
func (u *UnsignedClient) DefaultBranch(ownerDid, repoName string) (*types.RepoBranchResponse, error) {
123
+
func (u *UnsignedClient) DefaultBranch(ownerDid, repoName string) (*types.RepoDefaultBranchResponse, error) {
124
124
method := http.MethodGet
125
125
endpoint := fmt.Sprintf("/%s/%s/branches/default", ownerDid, repoName)
126
126
127
-
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
127
+
return do[types.RepoDefaultBranchResponse](u, method, endpoint, nil, nil)
128
128
}
129
129
130
130
func (u *UnsignedClient) Capabilities() (*types.Capabilities, error) {