Skip to content

Commit

Permalink
fix: getting a datalogger table preview was using the incorrect path …
Browse files Browse the repository at this point in the history
…parameter
  • Loading branch information
dennisgsmith committed Feb 21, 2025
1 parent 8a80322 commit 6252799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/internal/handler/datalogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func (h *ApiHandler) RegisterDatalogger(api huma.API) {
DataloggerIDParam
DataloggerTableIDParam
}) (*Response[db.VDataloggerPreview], error) {
a, err := h.DBService.DataloggerTablePreviewGet(ctx, input.DataloggerID.UUID)
a, err := h.DBService.DataloggerTablePreviewGet(ctx, input.DataloggerTableID.UUID)
if err != nil {
return nil, httperr.ServerErrorOrNotFound(err)
}
Expand Down

0 comments on commit 6252799

Please sign in to comment.