Add back required method

This commit is contained in:
some 2024-10-08 21:27:53 -04:00
parent 604dcbf426
commit a1bb62cc09
Signed by: some
GPG Key ID: 65D0589220B9BFC8
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,10 @@ type CallbackRequestBuilder struct {
}
}
func (rb CallbackRequestBuilder) RequestBuilder() router.RequestBuilder {
return &rb
}
func (rb *CallbackRequestBuilder) Values(values router.Values) (errRes router.ErrorResponse) {
err := rb.values.Values.Parse(values)
if err != nil {

View File

@ -17,6 +17,10 @@ type TokenRequestBuilder struct {
}
}
func (rb TokenRequestBuilder) RequestBuilder() router.RequestBuilder {
return &rb
}
func (rb *TokenRequestBuilder) Values(values router.Values) (errRes router.ErrorResponse) {
err := rb.values.Values.Parse(values)
if err != nil {