Skip to content

Commit

Permalink
remove listPostDetails code
Browse files Browse the repository at this point in the history
  • Loading branch information
Debian committed Dec 8, 2023
1 parent fe2b561 commit e55cdb3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions frontend/src/ts/DisqusApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ export class DisqusApi {
return this.get('posts/list', query, onLoad);
}

public listPostDetails(
postID: number,
onLoad: EventListenerOrEventListenerObject,
): XMLHttpRequest {
const query: string = `post=${postID}`
return this.get('posts/details', query, onLoad);
}

private get(path: string, query: string, onLoad: EventListenerOrEventListenerObject): XMLHttpRequest {
if (!this.apiKey)
return null;
Expand Down

0 comments on commit e55cdb3

Please sign in to comment.