Merge pull request #19561 from gustavotrott/graphql-actions-fix-whiteboard-actions

This commit is contained in:
Gustavo Trott 2024-02-02 12:07:37 -03:00 committed by GitHub
commit 16c8baf666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 8 deletions

View File

@ -1,9 +1,6 @@
import { RedisMessage } from '../types'; import { RedisMessage } from '../types';
import { ValidationError } from '../types/ValidationError';
import {throwErrorIfNotPresenter} from "../imports/validation";
export default function buildRedisMessage(sessionVariables: Record<string, unknown>, input: Record<string, unknown>): RedisMessage { export default function buildRedisMessage(sessionVariables: Record<string, unknown>, input: Record<string, unknown>): RedisMessage {
throwErrorIfNotPresenter(sessionVariables);
const eventName = `DeleteWhiteboardAnnotationsPubMsg`; const eventName = `DeleteWhiteboardAnnotationsPubMsg`;
const routing = { const routing = {

View File

@ -1,9 +1,6 @@
import { RedisMessage } from '../types'; import { RedisMessage } from '../types';
import { ValidationError } from '../types/ValidationError';
import {throwErrorIfNotPresenter} from "../imports/validation";
export default function buildRedisMessage(sessionVariables: Record<string, unknown>, input: Record<string, unknown>): RedisMessage { export default function buildRedisMessage(sessionVariables: Record<string, unknown>, input: Record<string, unknown>): RedisMessage {
throwErrorIfNotPresenter(sessionVariables);
const eventName = `DeleteWhiteboardAnnotationsPubMsg`; const eventName = `DeleteWhiteboardAnnotationsPubMsg`;
const routing = { const routing = {

View File

@ -1,9 +1,7 @@
import { RedisMessage } from '../types'; import { RedisMessage } from '../types';
import { ValidationError } from '../types/ValidationError'; import { ValidationError } from '../types/ValidationError';
import {throwErrorIfNotPresenter} from "../imports/validation";
export default function buildRedisMessage(sessionVariables: Record<string, unknown>, input: Record<string, unknown>): RedisMessage { export default function buildRedisMessage(sessionVariables: Record<string, unknown>, input: Record<string, unknown>): RedisMessage {
throwErrorIfNotPresenter(sessionVariables);
const eventName = `SendWhiteboardAnnotationsPubMsg`; const eventName = `SendWhiteboardAnnotationsPubMsg`;
const routing = { const routing = {