Skip to content

Commit 0fb65b5

Browse files
get niceid
1 parent 4d38b13 commit 0fb65b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/routers/resource/listResources.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type JoinedRow = {
4747
niceId: string;
4848
name: string;
4949
ssl: boolean;
50+
niceId: string;
5051
fullDomain: string | null;
5152
passwordId: number | null;
5253
sso: boolean;
@@ -79,7 +80,7 @@ export type ResourceWithTargets = {
7980
proxyPort: number | null;
8081
enabled: boolean;
8182
domainId: string | null;
82-
niceId: string | null;
83+
niceId: string;
8384
targets: Array<{
8485
targetId: number;
8586
ip: string;
@@ -261,6 +262,7 @@ export async function listResources(
261262
proxyPort: row.proxyPort,
262263
enabled: row.enabled,
263264
domainId: row.domainId,
265+
niceId: row.niceId,
264266
targets: [],
265267
};
266268
map.set(row.resourceId, entry);

0 commit comments

Comments
 (0)