patreon-java icon indicating copy to clipboard operation
patreon-java copied to clipboard

apiClient.fetchUser() error return html

Open zhaotianming1987 opened this issue 5 months ago • 0 comments

because:
RequestUtil.java

String prefix = BASE_URI + "/api/oauth2/api/"; URL url = new URL(prefix.concat(pathSuffix));

the url is   https://www.patreon.com/api/oauth2/api//current_user?include=pledges   

An extra one/

Right URL is  https://www.patreon.com/api/oauth2/api/current_user?include=pledges   

zhaotianming1987 avatar Jan 16 '24 10:01 zhaotianming1987