Skip to content

Commit 42f909a

Browse files
authored
chore: remove unused method (#557)
1 parent 4aa9da7 commit 42f909a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

internal/api/handlers/bricks.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -207,22 +207,6 @@ func HandleBrickUpdates(
207207
}
208208
}
209209

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-
return
221-
}
222-
render.EncodeResponse(w, http.StatusOK, res)
223-
}
224-
}
225-
226210
func HandleBrickDelete(
227211
brickService *bricks.Service,
228212
idProvider *app.IDProvider,

0 commit comments

Comments
 (0)