b94280c15c
Also removes the extra db field; instead, just send Prior as part of the Request.
This reverts commit e8b993e7da
.
9 lines
193 B
Go
9 lines
193 B
Go
package model
|
|
|
|
type Request struct {
|
|
Host string `json:"-"`
|
|
User *User `json:"-"`
|
|
Repo *Repo `json:"repo"`
|
|
Commit *Commit `json:"commit"`
|
|
Prior *Commit `json:"prior_commit"`
|
|
}
|