1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fixing linting.

This commit is contained in:
mike12345567 2023-06-12 16:29:41 +01:00
parent 2486937c43
commit d0d3e33606
2 changed files with 8 additions and 3 deletions

View file

@ -23,6 +23,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ BRANCH }}
- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:

View file

@ -60,9 +60,12 @@ export default class AccountAPI {
}
async delete(accountID: string) {
const [response, json] = await this.client.del(`/api/accounts/${accountID}`, {
internal: true,
})
const [response, json] = await this.client.del(
`/api/accounts/${accountID}`,
{
internal: true,
}
)
// can't use expect here due to use in global teardown
if (response.status !== 204) {
throw new Error(`Could not delete accountId=${accountID}`)