for getting static paths:
query {
learnArticleCollection(where: { slug_exists: true }) {
items {
${`slug`}
}
}
}
for getting static paths:
query {
learnArticleCollection(where: { slug_exists: true }) {
items {
${`slug`}
}
}
}
(ns demo.example.openai | |
(:require [reagent.core :as r] | |
["sse.js" :refer [SSE]])) | |
(defn openai-request [params cb] | |
(let [json-params #js params | |
config (clj->js {:headers {"Authorization" "Bearer <TOKEN>" | |
"Content-Type" "application/json"} | |
:method "POST" | |
:payload (js/JSON.stringify json-params)}) |
[main] ERROR io.vouch.digital-key.idm-bridge.system.config - {:idm-endpoint [invalid type]} | |
{:clojure.main/message | |
"Execution error (ExceptionInfo) at io.vouch.digital-key.idm-bridge.system.config/error (config.clj:11). | |
Invalid system config | |
", | |
:clojure.main/triage | |
{:clojure.error/class clojure.lang.ExceptionInfo, | |
:clojure.error/line 11, | |
:clojure.error/cause "Invalid system config", | |
:clojure.error/symbol |
User: SACKREW | |
#error {:message "Failed to enroll", :data {:kind :enrollment}, :cause #error {:message nil, :data #js {:message "Failed to enroll user device with JWT", :data #js {:fn "vzp.api/enroll-with-jwt*", :jwt "eyJ0eXAiOiJKV1QiLCJraWQiOiJ3VTNpZklJYUxPVUFSZVJCL0ZHNmVNMVAxUU09IiwiYWxnIjoiUlMyNTYifQ.eyJhdF9oYXNoIjoicm84V2xnR01EVzhUSURrMjdmS2dsQSIsInN1YiI6IlNBQ0tSRVciLCJodHRwczovL2RpZ2l0YWwta2V5LmlvL29yZyI6IjE1MDUwIiwiYXVkaXRUcmFja2luZ0lkIjoiNWI4MzVlMzAtZTA2Ni00ZmY2LTliZjktYmMyMDYyOGUwM2QzLTMwNDQ1NTciLCJpc3MiOiJodHRwczovL2VwLmZyYW0uaWRtLnRveW90YS5jb20vb2F1dGgyL3JlYWxtcy9yb290L3JlYWxtcy9kZWFsZXJkYWlseSIsInRva2VuTmFtZSI6ImlkX3Rva2VuIiwibm9uY2UiOiJuNk9CTWp0X1hfUmRFQTlINWxkWEZSQmcwcTNrSG84NFJ6RFVVdTk3WmVnIiwicHJpX2pvYl9jb2RlIjoiMDYyIiwiYXVkIjoiREtQIiwiY19oYXNoIjoiVmVkUl9KNUJtOWNQZ2w0V3NUN0tYZyIsImFjciI6IjAiLCJvcmcuZm9yZ2Vyb2NrLm9wZW5pZGNvbm5lY3Qub3BzIjoiRURjQl92dVlxWV9Oazl0cVFWTVNRcTFES0U4Iiwic19oYXNoIjoiS0UtQ1lsX3kxOGNSdWlqTFJWNlVmUSIsIlVzZXJJZCI6IlNBQ0tSRVciLCJhenAiOiJES1AiLCJhdXRoX3RpbWUiOjE2MzI1MDE4NjMsInJl |
[qtp1772898085-87] INFO io.vouch.http.error - {:request {:reitit.core/router #object[reitit.core$mixed_router$reify__22835 0x64f98fd4 reitit.core$mixed_router$reify__22835@64f98fd4], :ssl-client-cert nil, :protocol HTTP/1.1, :remote-addr 10.1.1.230, :params {}, :body-params {:io.vouch.data.crypto/payload {:method :get-events, :io.vouch.data.ledger/block-height 1398}, :io.vouch.data.crypto/device-id 5966ce2c-3e8e-4ca2-8f6c-40487b7824fd, :io.vouch.data.crypto/signature 800246304402206c5379b18135af0d879e3d23e757f7adc35f6ab20a526f7d7637c715c65b67c502203e6440fcd1e3ea352464902bf9bbcbd6f0750f015d8ba330be6c4fd825bfe122}, :headers {x-vouch-request-id 08c6335f-ee7e-4b84-8f08-d39bbaf17dba, host api.prd.digitalkey.connectedtech.io, user-agent Dalvik/2.1.0 (Linux; U; Android 11; SM-N981U1 Build/RP1A.200720.012), content-type application/cbor, content-length 354, x-forwarded-port 443, accept application/cbor, x-amzn-trace-id Root=1-6148c38d-59b80c33117f4c0e62b71746, x-forwarded-for 162.246.76.253, accept-encoding gzip, x-f |
/** | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
#import "RCTModuleMethod.h" | |
#import <objc/message.h> |
/** | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
* | |
* @format | |
*/ | |
'use strict'; |