Skip to content

Commit

Permalink
refactor: Rename api into API
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne authored and LunarX committed Dec 20, 2024
1 parent dc9d4c8 commit e76cd69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import java.util.UUID
*
* There is 2 types of Request:
* - the standard request ([requestIntegrityVerdictToken]) that need a warm-up first ([warmUpTokenProvider])
* - the classic request ([requestClassicIntegrityVerdictToken]) that need additional Api checks
* - the classic request ([requestClassicIntegrityVerdictToken]) that need additional API checks
*/
class AppIntegrityManager(private val appContext: Context) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal class AppIntegrityRepository {
"challenge_id" to challengeId,
)

// Add this line to test validation by api
// Add this line to test validation by API
// body["force_integrity_test"] = "true"

return post<ApiResponse<String>>(url = Url(AppIntegrityRoutes.requestApiIntegrityCheck), data = body)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class TransferSendManager @Inject constructor(
packageName = BuildConfig.APPLICATION_ID,
targetUrl = sharedApiUrlCreator.createUploadContainerUrl,
onSuccess = { attestationToken ->
SentryLog.i(APP_INTEGRITY_MANAGER_TAG, "Api verdict check")
SentryLog.i(APP_INTEGRITY_MANAGER_TAG, "API verdict check")
Log.i(APP_INTEGRITY_MANAGER_TAG, "getApiIntegrityVerdict: $attestationToken")
token = attestationToken
},
Expand Down

0 comments on commit e76cd69

Please sign in to comment.