Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No app key found in "cloud.0" from sayit #348

Open
sirdown opened this issue Dec 31, 2022 · 2 comments
Open

No app key found in "cloud.0" from sayit #348

sirdown opened this issue Dec 31, 2022 · 2 comments
Labels

Comments

@sirdown
Copy link

sirdown commented Dec 31, 2022

Hallo zusammen,

ich bin kein Programmierer, aber eventuell habe ich etwas gefunden, was ein Problem beim sayit Adapter erklären könnte .
Der Sayit Adapter schmeißt ein 'No app key found in "cloud.0"
Mir ist aufgefallen, dass im admin/jsonConfig.json beim apikey": der "hidden" Parameter mit zwei "!" gesetzt ist.
Nehme ich einen davon raus, klappt es auch mit dem sayit.
Snip:
"apikey": {
"newLine": true,
"hidden": "!!data.useCredentials",
"type": "text",
"sm": 12,
"label": "APP-KEY",
"help": "help_tip"

Hat der doppelte "!" eine Bewandtnis, oder ist dies ein typo?

Gruß & Danke

@Apollon77
Copy link
Contributor

Am Ende ist "!!" die konvertierung in einen boolean wert (true/false).
Der originalcode meint also: Wenn "data.useCredentials" gesetzt/checkbox gewählt ist, dann Feld verstecken.

Wenn Du einen "!" wegnimmst dann drehst Du es rum: Wenn die Checkbox NICHT gesetzt ist dann verstecke das Feld.

Was davon jetzt korrekt ist muss ich mal schauen

@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants