From 65ced2f3d36a4a62f5ae77999cea83d5b25839c3 Mon Sep 17 00:00:00 2001 From: Esad Mustafoski Date: Tue, 18 Mar 2025 08:31:14 +0100 Subject: [PATCH] Update helpers.ts to match comment structure --- api/helpers.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/helpers.ts b/api/helpers.ts index 137f4cf..626613e 100644 --- a/api/helpers.ts +++ b/api/helpers.ts @@ -4,6 +4,8 @@ * @file api/helpers.ts * @description Helper functions for the API */ + +// +++ IMPORTS ------------------------------------------------------ // import { Context } from "https://deno.land/x/oak/mod.ts"; import { encodeHex } from "jsr:@std/encoding/hex"; // import { hash } from "node:crypto"; @@ -13,7 +15,8 @@ export type ApiResponse = { body: unknown; }; -// --- Helper Functions --- // + +// +++ FUNCTIONS ---------------------------------------------------- // /** * @description Sends a response to the client * @usage sendResponse(ctx, { status: 200, body: { message: "Success" } })