mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-14 05:35:12 +00:00
uncomment orgs list for dropdown
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { drizzle } from "drizzle-orm/better-sqlite3";
|
||||
import Database from "better-sqlite3";
|
||||
import * as schema from "@server/db/schema";
|
||||
import config, { APP_PATH } from "@server/config";
|
||||
import { APP_PATH } from "@server/config";
|
||||
import path from "path";
|
||||
|
||||
const location = path.join(APP_PATH, "db", "db.sqlite");
|
||||
|
||||
@@ -79,8 +79,6 @@ export async function listOrgs(
|
||||
.where(inArray(orgs.orgId, userOrgIds));
|
||||
const totalCount = totalCountResult[0].count;
|
||||
|
||||
logger.debug("here2")
|
||||
|
||||
return response<ListOrgsResponse>(res, {
|
||||
data: {
|
||||
orgs: organizations,
|
||||
|
||||
Reference in New Issue
Block a user