File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export type UnstorageInstance = {
1515export class UnstorageStore <
1616 E extends Env = Env ,
1717 P extends string = string ,
18- I extends Input = Input
18+ I extends Input = Input ,
1919> implements Store < E , P , I >
2020{
2121 /**
@@ -74,7 +74,7 @@ export class UnstorageStore<
7474 const result = await this . storage
7575 . get ( this . prefixKey ( key ) )
7676 . then ( ( value ) =>
77- value ? ( JSON . parse ( String ( value ) ) as ClientRateLimitInfo ) : undefined
77+ value ? ( JSON . parse ( String ( value ) ) as ClientRateLimitInfo ) : undefined ,
7878 ) ;
7979
8080 return result ;
@@ -157,7 +157,7 @@ export class UnstorageStore<
157157 */
158158 private async updateRecord (
159159 key : string ,
160- payload : ClientRateLimitInfo
160+ payload : ClientRateLimitInfo ,
161161 ) : Promise < void > {
162162 await this . storage . set ( this . prefixKey ( key ) , JSON . stringify ( payload ) ) ;
163163 }
You can’t perform that action at this time.
0 commit comments