From 7111ecd32cb9ca46c9d2f69817051d2ea83d6252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 6 Apr 2022 15:49:09 +0900 Subject: [PATCH] Update session syntax --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index d08e9a2..9646b1d 100644 --- a/api.js +++ b/api.js @@ -119,7 +119,7 @@ BotanJS.prototype.compile = function( type ) Dragonfly.Debug( "Storing " + _trim( ch ) + " to fastcache[ " + fastCache.id + " ]" ); fastCache.spawn( 10 ); - fastCache.set( type, ch ); + fastCache.set({ type: ch }); if( res.statusCode != 200 ) {