Companies are now listing properly

This commit is contained in:
2026-02-13 17:02:03 -06:00
parent 24d0c066fd
commit 628dc35dea
13 changed files with 123 additions and 15 deletions
+2 -1
View File
@@ -4,13 +4,14 @@ import { ZodError } from "zod";
* @ignore
*/
export const apiResponse = {
successful: (message: string, data?: any) => ({
successful: (message: string, data?: any, meta?: {}) => ({
status: 200,
message,
data,
successful: true,
meta: {
timestamp: Date.now(),
...meta,
},
}),
created: (message: string, data?: any) => ({