Update server/api/compliance.go
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
This commit is contained in:
parent
7ebf861f1c
commit
165d3c0fc1
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue