Update session syntax

This commit is contained in:
斟酌 鵬兄 2022-04-06 15:49:09 +09:00
parent dbc5ba66e1
commit 7111ecd32c

2
api.js
View File

@ -119,7 +119,7 @@ BotanJS.prototype.compile = function( type )
Dragonfly.Debug( "Storing " + _trim( ch ) + " to fastcache[ " + fastCache.id + " ]" ); Dragonfly.Debug( "Storing " + _trim( ch ) + " to fastcache[ " + fastCache.id + " ]" );
fastCache.spawn( 10 ); fastCache.spawn( 10 );
fastCache.set( type, ch ); fastCache.set({ type: ch });
if( res.statusCode != 200 ) if( res.statusCode != 200 )
{ {