Skip to content

Comments

Add GameTimeToBeats#31

Merged
husnjak merged 2 commits intomainfrom
GameTimeToBeats
Apr 16, 2025
Merged

Add GameTimeToBeats#31
husnjak merged 2 commits intomainfrom
GameTimeToBeats

Conversation

@husnjaktv
Copy link
Collaborator

No description provided.

@husnjak husnjak merged commit 8c10a84 into main Apr 16, 2025
1 of 2 checks passed
@husnjak husnjak deleted the GameTimeToBeats branch April 16, 2025 07:54
}

func gameTimeToBeats(apiCalypse: APICalypse, result: @escaping ([Proto_GameTimeToBeat]) -> (Void), errorResponse: @escaping (RequestException) -> (Void)) {
apiProtoRequest(endpoint: .GAME_STATUSES, apicalypseQuery: apiCalypse.buildQuery(), dataResponse: { bytes -> (Void) in

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be .GAME_TIME_TO_BEATS instead of .GAME_STATUSES? 🤔
It seems like you added both endpoints for status and time to beat in Sources/IGDB-SWIFT-API/Wrapper/JsonRequest.swift, but only one here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I'll update it now

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants