mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Add type to WebAPI error message
This commit is contained in:
committed by
Scott Nonnenberg
parent
bc146a54af
commit
d07996e910
@@ -1102,7 +1102,7 @@ export function initialize({
|
||||
// Happens sometimes when we get no response. Might be nice to get 204 instead.
|
||||
return null;
|
||||
}
|
||||
let message;
|
||||
let message: string;
|
||||
switch (code) {
|
||||
case -1:
|
||||
message =
|
||||
|
||||
Reference in New Issue
Block a user