mirror of
https://github.com/directus/directus.git
synced 2026-01-23 18:38:13 -05:00
Fix type issue in getCacheKey (#8008)
This commit is contained in:
committed by
GitHub
parent
7b5c65c455
commit
b7779b7b48
@@ -14,5 +14,7 @@ export function getCacheKey(req: Request): string {
|
||||
};
|
||||
|
||||
const key = hash(info);
|
||||
return key;
|
||||
|
||||
// hash() only returns a buffer if the encoding is set to 'buffer'
|
||||
return key as string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user