eder
09/01/2017, 9:39 PMeder
09/01/2017, 9:39 PMeder
09/01/2017, 9:40 PMmonkeybonkey
09/01/2017, 9:47 PMArgument 'deviceTokens' expected type 'Json' but got: \"[object Object]\". Reason: Not valid JSON
but in my query variables I set it as "deviceTokens":{"type":"fcm","token":"bar"}
monkeybonkey
09/01/2017, 9:50 PM"deviceTokens": "{\"type\":\"fcm\",\"token\":\"bar\"}"
eder
09/01/2017, 10:31 PMeder
09/01/2017, 10:31 PMeder
09/01/2017, 10:32 PMsenorcodecat
09/02/2017, 12:40 PMnotrab
09/02/2017, 3:24 PMwilkerlucio
09/02/2017, 3:47 PMwilkerlucio
09/02/2017, 3:47 PMwilkerlucio
09/02/2017, 3:48 PMwilkerlucio
09/02/2017, 3:48 PMeder
09/02/2017, 4:57 PMpatstrz
09/02/2017, 6:33 PMbody.context
but when the real subscription invokes a webtask I don’t have access to body.context
, specifically what I want to do is check body.context.graphcool.projectId
so that I know which project is calling the webtask ( I have a dev and production project), is this the expected behaviour? and if so how do I know what project is calling the function?aurnik
09/02/2017, 9:05 PMvisualbbasic
09/03/2017, 12:17 AMtomasnagy
09/03/2017, 7:17 AMuufish
09/03/2017, 7:27 AMuufish
09/03/2017, 7:31 AMtype Test implements Node {
content: String!
}
↓
type Test implements Node {
content: String!
createdAt: DateTime!
id: ID! @isUnique
updatedAt: DateTime!
}
↓
_allTestsMeta(filter: TestFilterorderBy: TestOrderByskip: Intafter: Stringbefore: Stringfirst: Intlast: Int): _QueryMeta!
allTests(filter: TestFilterorderBy: TestOrderByskip: Intafter: Stringbefore: Stringfirst: Intlast: Int): [Test!]!
Test(id: ID): Test
tfiwm
09/03/2017, 3:09 PMprzytzrask
09/03/2017, 6:09 PMprzytzrask
09/03/2017, 6:15 PMhuv1k
09/03/2017, 7:31 PMhuv1k
09/03/2017, 7:31 PMprzytzrask
09/03/2017, 7:32 PMamandoabreu
09/03/2017, 9:26 PMpcooney10
09/03/2017, 10:51 PMFetch API cannot load https://.../prod/create/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://console.graph.cool>' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
agartha
09/03/2017, 11:52 PM