Skip to content

Commit 9cc0087

Browse files
fix: update rom endpoint to use new 4.9.0 query params
1 parent ff1af7e commit 9cc0087

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

cache/populate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ func (cm *Manager) fetchPlatformGames(platform romm.Platform, opts *fetchOpts) (
184184
Offset: offset,
185185
Limit: DefaultRomPageSize,
186186
UpdatedAfter: opts.updatedAfter,
187+
WithFiles: true,
187188
}
188189

189190
res, err := client.GetRoms(q)

romm/roms.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ type GetRomsQuery struct {
135135
UpdatedAfter string `qs:"updated_after,omitempty"` // ISO8601 timestamp with timezone
136136
WithFilterValues bool `qs:"with_filter_values"`
137137
WithCharIndex bool `qs:"with_char_index"`
138+
WithFiles bool `qs:"with_files"`
138139
}
139140

140141
func (q GetRomsQuery) Valid() bool {

0 commit comments

Comments
 (0)