Add type to WebAPI error message
This commit is contained in:
parent
bc146a54af
commit
d07996e910
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ export function initialize({
|
||||||
// Happens sometimes when we get no response. Might be nice to get 204 instead.
|
// Happens sometimes when we get no response. Might be nice to get 204 instead.
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
let message;
|
let message: string;
|
||||||
switch (code) {
|
switch (code) {
|
||||||
case -1:
|
case -1:
|
||||||
message =
|
message =
|
||||||
|
|
Loading…
Reference in a new issue