Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Wrong error message "API access denied" #2514

Closed
TheGoldenEye opened this issue Oct 31, 2018 · 0 comments · Fixed by #2537
Closed

Wrong error message "API access denied" #2514

TheGoldenEye opened this issue Oct 31, 2018 · 0 comments · Fixed by #2537
Assignees

Comments

@TheGoldenEye
Copy link
Contributor

Expected behavior

If the API is not open for access, any reqests should be answered with a response like that:

{
message: "API access denied",
errors: [...]
}

Actual behavior

The response in still in old 0.9.x style

{
success: false,
error: "API access denied"
}

Steps to reproduce

Try to access a closed API

Which version(s) does this affect? (Environment, OS, etc...)

Lisk core 1.1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants