mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-08-24 14:48:42 +08:00
Change response shape from redis_info endpoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Dispatch } from "redux";
|
||||
import { getRedisInfo, RedisInfo } from "../api";
|
||||
import { getRedisInfo, RedisInfoResponse } from "../api";
|
||||
|
||||
// List of redis-info related action types.
|
||||
export const GET_REDIS_INFO_BEGIN = "GET_REDIS_INFO_BEGIN";
|
||||
@@ -12,7 +12,7 @@ interface GetRedisInfoBeginAction {
|
||||
|
||||
interface GetRedisInfoSuccessAction {
|
||||
type: typeof GET_REDIS_INFO_SUCCESS;
|
||||
payload: RedisInfo;
|
||||
payload: RedisInfoResponse;
|
||||
}
|
||||
|
||||
interface GetRedisInfoErrorAction {
|
||||
|
Reference in New Issue
Block a user