fixed generateAppleClientSecret call

This commit is contained in:
Gani Georgiev
2023-03-24 22:48:32 +02:00
parent 78a9f7429c
commit be0ee7f66c
30 changed files with 42 additions and 43 deletions
+5 -6
View File
@@ -157,11 +157,6 @@
// Returns the current active editor language.
function getEditorLang() {
let schema = {};
for (let collection of $collections) {
schema[collection.name] = CommonHelper.getAllCollectionIdentifiers(collection);
}
switch (language) {
case "html":
return htmlLang();
@@ -177,10 +172,14 @@
identifierQuotes: '`"',
specialVar: "@:?$",
}),
schema: schema,
upperCaseKeywords: true,
});
case "sql-select":
let schema = {};
for (let collection of $collections) {
schema[collection.name] = CommonHelper.getAllCollectionIdentifiers(collection);
}
return sql({
// lightweight sql dialect with mostly SELECT statements keywords
dialect: SQLDialect.define({
@@ -44,7 +44,7 @@
isSubmitting = true;
try {
const result = await ApiClient.generateAppleClientSecret(
const result = await ApiClient.settings.generateAppleClientSecret(
clientId,
teamId,
keyId,