This commit is contained in:
Andre Medeiros 2021-07-08 19:55:14 -04:00
parent dea42a40f6
commit 6a5444bffe

View file

@ -111,7 +111,7 @@ func (rac *AuthenticatedClient) RefreshTokens() (*RefreshTokenResponse, error) {
func (rac *AuthenticatedClient) MessageInbox(from string) (*MessageListingResponse, error) { func (rac *AuthenticatedClient) MessageInbox(from string) (*MessageListingResponse, error) {
req := NewRequest( req := NewRequest(
WithTags([]string{"/api/v1/message/inbox"}), WithTags([]string{"url:/api/v1/message/inbox"}),
WithMethod("GET"), WithMethod("GET"),
WithToken(rac.accessToken), WithToken(rac.accessToken),
WithURL("https://oauth.reddit.com/message/inbox.json"), WithURL("https://oauth.reddit.com/message/inbox.json"),