mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 14:25:28 +00:00
Use raw_json on all reddit calls
This commit is contained in:
parent
6cfdc1ba74
commit
527552eb6d
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ func NewRequest(opts ...RequestOption) *Request {
|
|||
client: nil,
|
||||
}
|
||||
|
||||
req.query.Set("raw_json", "1")
|
||||
|
||||
for _, opt := range opts {
|
||||
opt(req)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue