@tthr/vue 0.0.63 → 0.0.65
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/nuxt/module.js
CHANGED
|
@@ -141,7 +141,7 @@ async function executeViaApi(config, functionName, functionType, args) {
|
|
|
141
141
|
apiPath = `${base}/api/v1/projects/${config.projectId}`;
|
|
142
142
|
}
|
|
143
143
|
// Order endpoints to try based on functionType hint
|
|
144
|
-
const endpointTypes = ['
|
|
144
|
+
const endpointTypes = ['mutation', 'query'];
|
|
145
145
|
// Move the hinted type to the front if valid
|
|
146
146
|
if (functionType && endpointTypes.includes(functionType)) {
|
|
147
147
|
endpointTypes.splice(endpointTypes.indexOf(functionType), 1);
|