mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
feat(refresh): added refresh button on game detail view to refresh metadata
Resolves grimsi/gameyfin#45
This commit is contained in:
@@ -92,6 +92,10 @@ export class GamesService implements GamesApi {
|
||||
window.open(`v1${this.apiPath}/game/${slug}/download`, '_top');
|
||||
}
|
||||
|
||||
refreshGame(slug: String): Observable<DetectedGameDto> {
|
||||
return this.http.get<DetectedGameDto>(`${this.apiPath}/game/${slug}/refresh`);
|
||||
}
|
||||
|
||||
getGameOverviews(): Observable<GameOverviewDto[]> {
|
||||
return this.http.get<GameOverviewDto[]>(`${this.apiPath}/game-overviews`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user