From 62e7b8b0de42cc57db7068a9c082d0db2c000d4f Mon Sep 17 00:00:00 2001 From: cnwhy Date: Mon, 18 Dec 2023 16:49:19 +0800 Subject: [PATCH] fix --- src/templates/otherOrigin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/otherOrigin.ts b/src/templates/otherOrigin.ts index d0e4ba3..504a5b9 100644 --- a/src/templates/otherOrigin.ts +++ b/src/templates/otherOrigin.ts @@ -14,7 +14,7 @@ export const getRedisTemplate = (name: string, type?: string) => { "addr": "127.0.0.1:6379", "db": "1", "password": "123456", - ${type ? `"type": ${type}` : ""} + ${type ? `"type": "${type}"` : ""} "key": "gost:${name}-0" } }`;