We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa9da7 commit 42f909aCopy full SHA for 42f909a
internal/api/handlers/bricks.go
@@ -207,22 +207,6 @@ func HandleBrickUpdates(
207
}
208
209
210
-func HandleBrickPartialUpdates(brickService *bricks.Service) http.HandlerFunc {
211
- return func(w http.ResponseWriter, r *http.Request) {
212
- id := r.PathValue("brickID")
213
- if id == "" {
214
- render.EncodeResponse(w, http.StatusBadRequest, "id must be set")
215
- return
216
- }
217
-
218
- res, err := brickService.BricksDetails(id)
219
- if err != nil {
220
221
222
- render.EncodeResponse(w, http.StatusOK, res)
223
224
-}
225
226
func HandleBrickDelete(
227
brickService *bricks.Service,
228
idProvider *app.IDProvider,
0 commit comments