Skip to content

Commit 4b1f286

Browse files
committed
fix: assign rooms.saveNotification endpoint to variable for RoomEndpoints type safety
1 parent be976b9 commit 4b1f286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/app/api/server/v1/rooms.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ const saveNotificationResponseSchema = ajv.compile({
311311
additionalProperties: false,
312312
});
313313

314-
API.v1.post(
314+
export const roomsSaveNotificationEndpoint = API.v1.post(
315315
'rooms.saveNotification',
316316
{
317317
authRequired: true,

0 commit comments

Comments
 (0)