refactor: ret should now satisfy HttpError

This commit is contained in:
Derrick Hammer 2024-03-20 16:08:40 -04:00
parent 64e2216a36
commit 81d52d2524
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export const accountProvider: SdkProvider = {
if (ret) {
if (ret instanceof Error) {
return Promise.reject(ret)
return Promise.reject(ret satisfies HttpError)
}
} else {
return Promise.reject();