Access tokens, server, moving things

- Added placeholder funcs for access tokens
- Moved an error definition and added another constant
- Changed (passkey) auth fail to return a json error for now
- TODO: Change that into checking for a provided access token before
  failing
This commit is contained in:
Melody Becker 2024-10-15 20:41:23 +02:00
parent 4f761c20c0
commit 391d8b1b48
5 changed files with 56 additions and 6 deletions

View file

@ -11,3 +11,4 @@ func (n ErrNotImplemented) Error() string {
var ErrEntryNotFound = errors.New("entry not found")
var ErrEntryAlreadyExists = errors.New("entry already exists")
var ErrNothingToChange = errors.New("nothing to change")
var ErrInvalidData = errors.New("invalid data")