@gatebolt/cli 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/transport.js +1 -1
- package/package.json +1 -1
package/dist/transport.js
CHANGED
|
@@ -13,7 +13,7 @@ export class RequestError extends Error {
|
|
|
13
13
|
export async function postChange(connection, procedure, input) {
|
|
14
14
|
let response;
|
|
15
15
|
try {
|
|
16
|
-
response = await fetch(`${connection.baseUrl}/
|
|
16
|
+
response = await fetch(`${connection.baseUrl}/v1/trpc/${procedure}`, {
|
|
17
17
|
method: "POST",
|
|
18
18
|
headers: {
|
|
19
19
|
authorization: `Bearer ${connection.key}`,
|
package/package.json
CHANGED