Skip to content

Commit bf69e66

Browse files
authored
Merge pull request #140 from louisevanderlith/master
Removed checks done on ResponseType String()
2 parents 073fe81 + eb082f2 commit bf69e66

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

const.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ const (
1010
)
1111

1212
func (rt ResponseType) String() string {
13-
if rt == Code ||
14-
rt == Token {
15-
return string(rt)
16-
}
17-
return ""
13+
return string(rt)
1814
}
1915

2016
// GrantType authorization model

0 commit comments

Comments
 (0)