File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ export const enum AppCheckError {
2727 STORAGE_GET = 'storage-get' ,
2828 STORAGE_WRITE = 'storage-set' ,
2929 RECAPTCHA_ERROR = 'recaptcha-error' ,
30- THROTTLED = 'throttled ' ,
31- INITIAL_THROTTLE = 'initial-throttle '
30+ INITIAL_THROTTLE = 'initial-throttle ' ,
31+ THROTTLED = 'throttled '
3232}
3333
3434const ERRORS : ErrorMap < AppCheckError > = {
@@ -68,8 +68,8 @@ interface ErrorParams {
6868 [ AppCheckError . STORAGE_OPEN ] : { originalErrorMessage ?: string } ;
6969 [ AppCheckError . STORAGE_GET ] : { originalErrorMessage ?: string } ;
7070 [ AppCheckError . STORAGE_WRITE ] : { originalErrorMessage ?: string } ;
71- [ AppCheckError . THROTTLED ] : { time : string ; httpStatus : number } ;
7271 [ AppCheckError . INITIAL_THROTTLE ] : { time : string ; httpStatus : number } ;
72+ [ AppCheckError . THROTTLED ] : { time : string ; httpStatus : number } ;
7373}
7474
7575export const ERROR_FACTORY = new ErrorFactory < AppCheckError , ErrorParams > (
You can’t perform that action at this time.
0 commit comments