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" } }`;