tangled
alpha
login
or
join now
willdot.net
/
cocoon
forked from
hailey.at/cocoon
0
fork
atom
An atproto PDS written in Go
0
fork
atom
overview
issues
pulls
pipelines
fix nil pointer
hailey.at
11 months ago
94f265b7
dd4c78fa
+3
-1
1 changed file
expand all
collapse all
unified
split
server
handle_repo_apply_writes.go
+3
-1
server/handle_repo_apply_writes.go
···
60
return helpers.ServerError(e, nil)
61
}
62
0
0
63
for i := range results {
64
results[i].Commit = nil
65
}
66
67
return e.JSON(200, ComAtprotoRepoApplyWritesResponse{
68
-
Commit: *results[0].Commit,
69
Results: results,
70
})
71
}
···
60
return helpers.ServerError(e, nil)
61
}
62
63
+
commit := *results[0].Commit
64
+
65
for i := range results {
66
results[i].Commit = nil
67
}
68
69
return e.JSON(200, ComAtprotoRepoApplyWritesResponse{
70
+
Commit: commit,
71
Results: results,
72
})
73
}