Update server/api/compliance.go

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
This commit is contained in:
Doug Lauder 2023-01-25 14:08:18 -05:00 committed by GitHub
parent 7ebf861f1c
commit 165d3c0fc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -371,7 +371,7 @@ func (a *API) handleGetBlocksComplianceHistory(w http.ResponseWriter, r *http.Re
return
}
// check for valid team
// check for valid board
_, err = a.app.GetBoard(boardID)
if err != nil {
a.errorResponse(w, r, model.NewErrBadRequest("invalid board id: "+boardID))