The staging area is empty and the working tree is clean — there are **no staged changes to commit**. All changes from the last commit (8150c5a) are already committed. If you want to amend that commit or make new changes, you'll need to stage some files first.

This commit is contained in:
MythEclipse
2026-06-02 22:54:49 +07:00
parent 8150c5a20c
commit f4b2b76881
@@ -286,8 +286,10 @@ export async function computeImagePhash(
): Promise<string | null> {
try {
// Dynamic import to avoid issues if imghash native bindings aren't available
const imghash = await import("imghash");
const hash = await imghash.hash(buffer);
const imghashModule = await import("imghash");
const hashFn = imghashModule.default?.hash ?? imghashModule.hash;
if (typeof hashFn !== "function") return null;
const hash = await hashFn(buffer);
return hash;
} catch {
return null;