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

[Bug] GET /vault/{pathToDirectory} doesn't return 404 not found error #22

Closed
kaiiiz opened this issue May 21, 2022 · 1 comment
Closed

Comments

@kaiiiz
Copy link

kaiiiz commented May 21, 2022

Consider the following folder structure:

.
├── a
│   └── a.md
└── b

What I get from the server response:

image

What I expected to get from the server response:

It should return 404 (Directory does not exist) instead of 200.

OS: MacOS Monterey 12.2.1 (M1)
Obsidian version: 0.14.6
Obsidian local rest API version: 1.3.5

@coddingtonbear
Copy link
Owner

Fixed in d011f40; thanks for this bug report, too, @kaiiiz !

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

No branches or pull requests

2 participants