Changed websocket connection string.
This commit is contained in:
@@ -24,7 +24,7 @@ export const GET_ALL_OPEN_JOBS = gql`
|
||||
`;
|
||||
|
||||
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
||||
subscription AllJobs {
|
||||
subscription SUBSCRIPTION_ALL_OPEN_JOBS {
|
||||
jobs {
|
||||
id
|
||||
updated_at
|
||||
@@ -46,12 +46,3 @@ export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const test = gql`
|
||||
subscription s {
|
||||
masterdata {
|
||||
key
|
||||
value
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -6,8 +6,7 @@ import { Table, Divider, Icon } from "antd";
|
||||
|
||||
import {
|
||||
GET_ALL_OPEN_JOBS,
|
||||
SUBSCRIPTION_ALL_OPEN_JOBS,
|
||||
test
|
||||
SUBSCRIPTION_ALL_OPEN_JOBS
|
||||
} from "../../graphql/jobs.queries";
|
||||
|
||||
export default function JobsPage() {
|
||||
|
||||
Reference in New Issue
Block a user