Skip to content

Commit 706b572

Browse files
committed
fix: friendly img brief
1 parent 1309ba2 commit 706b572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const toObject = <T = any>(data: any) => {
77
// return String(data);
88
};
99
/** md5 hash */
10-
export const md5 = (data: BinaryLike) => createHash("md5").update(data).digest()
10+
export const md5 = (data: BinaryLike) => createHash("md5").update(data).digest().toString();
1111
export function isEmpty<T>(data: T) {
1212
if (!data) return true;
1313
if (typeof data !== "object") return false

0 commit comments

Comments
 (0)