Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CashPilot tile no longer tells the truth when its key is wrong, and it can lose its key.
CASHPILOT_API_KEY) reads nothing and gets a 403. A tile set up with that key now shows as active with two dashes, and Test says only "Something went wrong... Code: 403".livestats()callsgetBody()on a null response.The fix:
livestats()reads the response only on a 200. Anything else shows the tile as inactive, with dashes.CASHPILOT_READONLY_API_KEY. That key was added in CashPilot 1.22.0 for dashboards. It can read the earnings summary and nothing that changes state.cashpilot.svgis the current mark, run through the repo's svgo config.The config key is still
access_token, so saved tiles keep working.app.json,livestats.blade.phpand the endpoint have not changed.I wrote CashPilot and added this app in #971.
I checked the PHP with
php -landphpcs --standard=PSR12(the linter's settings). I have not run the tile inside a live Heimdall.