Skip to content

Commit

Permalink
Fix error message (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet authored Apr 2, 2024
1 parent 6437da2 commit fcbcf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const randomId = (): string => Math.random().toString(16).slice(2);

export const fetchConfig = async (): Promise<Config> => {
const errorNotFound = `${NAMESPACE}: YAML config file not found.`;
const errorSuffix = 'Make sure you have valid config in /config/www/secret-gestures.yaml file.';
const errorSuffix = 'Make sure you have valid config in /config/www/secret-taps.yaml file.';
return new Promise<Config>((resolve) => {
fetch(`${CONFIG_PATH}?hash=${randomId()}`)
.then((response: Response) => {
Expand Down

0 comments on commit fcbcf08

Please sign in to comment.