Skip to content

Commit bc6ac8d

Browse files
committed
Include GetGroupSceneItemList fix in types generator (fdca73c)
1 parent fdca73c commit bc6ac8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build-types.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ const {body: protocol} = await got<GeneratedProtocol>(`https://raw.githubusercon
8888
responseType: 'json',
8989
});
9090

91-
// fix oopsie in protocol.json
91+
// fix oopsie in protocol.json (5.0.1)
9292
protocol.requests.forEach(req => {
93-
if (req.requestType === 'GetSourceScreenshot' && req.description.startsWith('Saves')) {
94-
req.requestType = 'SaveSourceScreenshot';
93+
if (req.requestType === 'GetGroupItemList') {
94+
req.requestType = 'GetGroupSceneItemList';
9595
}
9696
});
9797

0 commit comments

Comments
 (0)