diff --git a/src/app/posts.services.ts b/src/app/posts.services.ts index 55fc0b1f..54e464d1 100644 --- a/src/app/posts.services.ts +++ b/src/app/posts.services.ts @@ -179,6 +179,11 @@ export class PostsService { getAllSubscriptions() { return this.http.post(this.path + 'getAllSubscriptions', {}); } + + // gets tag of the latest version of youtubedl-material + getLatestGithubRelease() { + return this.http.get('https://api.github.com/repos/tzahi12345/youtubedl-material/releases/latest'); + } }