reddit-ts
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "reddit-ts", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Reddit API written in Typescript", | ||
@@ -5,0 +5,0 @@ "author": "aelesia", |
{ | ||
"name": "reddit-ts", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Reddit API written in Typescript", | ||
@@ -5,0 +5,0 @@ "author": "aelesia", |
@@ -131,3 +131,3 @@ import { Comments } from './types/Comments.type' | ||
private async search(username: string, after?: string): Promise<Search> { | ||
protected async search(username: string, after?: string): Promise<Search> { | ||
return (await Http.url(`https://www.reddit.com/user/${username}.json?limit=100&after=${after ?? ''}`).get<Search>()) | ||
@@ -134,0 +134,0 @@ .data |
Sorry, the diff of this file is not supported yet
117154