Fixed subscription issue. Related to no authorization token for WS request.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { gql } from "apollo-boost";
|
||||
|
||||
export const GET_ALL_OPEN_JOBS = gql`
|
||||
{
|
||||
query GET_ALL_OPEN_JOBS {
|
||||
jobs {
|
||||
id
|
||||
est_number
|
||||
@@ -24,9 +24,10 @@ export const GET_ALL_OPEN_JOBS = gql`
|
||||
`;
|
||||
|
||||
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
||||
subscription {
|
||||
subscription AllJobs {
|
||||
jobs {
|
||||
id
|
||||
updated_at
|
||||
est_number
|
||||
ro_number
|
||||
status
|
||||
@@ -45,3 +46,12 @@ export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const test = gql`
|
||||
subscription s {
|
||||
masterdata {
|
||||
key
|
||||
value
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user