mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-08-17 21:25:52 +02:00
Format und type fixes
This commit is contained in:
@@ -289,6 +289,7 @@ describe("ChannelService", () => {
|
||||
agents: [mockAgent],
|
||||
slotTemplates: [mockSlotTemplate],
|
||||
archived: false,
|
||||
staffIds: [],
|
||||
});
|
||||
|
||||
const result = await service.getChannelById("550e8400-e29b-41d4-a716-446655440000");
|
||||
@@ -332,6 +333,7 @@ describe("ChannelService", () => {
|
||||
agents: [mockAgent],
|
||||
slotTemplates: [mockSlotTemplate],
|
||||
archived: false,
|
||||
staffIds: [],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -501,8 +501,8 @@ export class ChannelService {
|
||||
.select({ staffId: tenantSchema.channelStaff.staffId })
|
||||
.from(tenantSchema.channelStaff)
|
||||
.where(eq(tenantSchema.channelStaff.channelId, channelId));
|
||||
|
||||
const staffIds = staffLinks.map(link => link.staffId);
|
||||
|
||||
const staffIds = staffLinks.map((link) => link.staffId);
|
||||
|
||||
return {
|
||||
...channel,
|
||||
@@ -601,8 +601,8 @@ export class ChannelService {
|
||||
.select({ staffId: tenantSchema.channelStaff.staffId })
|
||||
.from(tenantSchema.channelStaff)
|
||||
.where(eq(tenantSchema.channelStaff.channelId, channelId));
|
||||
|
||||
const staffIds = staffLinks.map(link => link.staffId);
|
||||
|
||||
const staffIds = staffLinks.map((link) => link.staffId);
|
||||
|
||||
const result = {
|
||||
...channel,
|
||||
|
||||
Reference in New Issue
Block a user