feat: added load more button to github repos dropdown (#414)

This commit is contained in:
Aaryan Khandelwal 2023-03-10 16:03:49 +05:30 committed by GitHub
parent 4fad685ec8
commit c7923f6d44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 170 additions and 61 deletions

View file

@ -39,6 +39,15 @@ abstract class APIService {
};
}
getWithoutBase(url: string, config = {}): Promise<any> {
return axios({
method: "get",
url: url,
headers: this.getAccessToken() ? this.getHeaders() : {},
...config,
});
}
get(url: string, config = {}): Promise<any> {
return axios({
method: "get",