mirror of https://github.com/waku-org/js-waku.git
Merge pull request #1976 from waku-org/fix/history-error-code
fix: use correct error message for store rate limit
This commit is contained in:
commit
3b0f330b02
|
@ -377,14 +377,14 @@ export namespace HistoryResponse {
|
|||
export enum HistoryError {
|
||||
NONE = 'NONE',
|
||||
INVALID_CURSOR = 'INVALID_CURSOR',
|
||||
TOO_MANY_RESULTS = 'TOO_MANY_RESULTS',
|
||||
TOO_MANY_REQUESTS = 'TOO_MANY_REQUESTS',
|
||||
SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'
|
||||
}
|
||||
|
||||
enum __HistoryErrorValues {
|
||||
NONE = 0,
|
||||
INVALID_CURSOR = 1,
|
||||
TOO_MANY_RESULTS = 429,
|
||||
TOO_MANY_REQUESTS = 429,
|
||||
SERVICE_UNAVAILABLE = 503
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ message HistoryResponse {
|
|||
enum HistoryError {
|
||||
NONE = 0;
|
||||
INVALID_CURSOR = 1;
|
||||
TOO_MANY_RESULTS = 429;
|
||||
TOO_MANY_REQUESTS = 429;
|
||||
SERVICE_UNAVAILABLE = 503;
|
||||
}
|
||||
HistoryError error = 4;
|
||||
|
|
Loading…
Reference in New Issue