rm junk
This commit is contained in:
parent
135960e7cf
commit
22ed2a16d6
|
@ -8,8 +8,6 @@ import { routes } from "./index.js";
|
||||||
const hasher = createHash("sha256");
|
const hasher = createHash("sha256");
|
||||||
|
|
||||||
export const send = async (publicKeyId: string, privateKey: string, activity: string, hash: string, inbox: string) => {
|
export const send = async (publicKeyId: string, privateKey: string, activity: string, hash: string, inbox: string) => {
|
||||||
activity = typeof activity === "string" ? activity : JSON.stringify(activity, null, 4);
|
|
||||||
|
|
||||||
const headers = {
|
const headers = {
|
||||||
date: new Date().toUTCString(),
|
date: new Date().toUTCString(),
|
||||||
digest: hash,
|
digest: hash,
|
||||||
|
|
Loading…
Reference in New Issue