Update qa-core/src/account-api/api/apis/LicenseAPI.ts

Co-authored-by: Rory Powell <rory.codes@gmail.com>
This commit is contained in:
Pedro Silva 2023-05-12 12:16:48 +01:00 committed by GitHub
parent 85c835e5f0
commit e792b717c5
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default class LicenseAPI {
)
if (response.status !== 200) {
throw new Error(`License Error: ${response.status}`)
throw new Error(`Could not update license for accountId=${accountId}: ${response.status}`)
}
return [response, json]
}