REST file import endpoint

This commit is contained in:
Łukasz Magiera
2019-10-23 11:39:44 +02:00
parent 855b1fdd6e
commit aab3bd617a
9 changed files with 111 additions and 32 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
var log = logging.Logger("auth")
type Handler struct {
Verify func(ctx context.Context, token string) ([]string, error)
Verify func(ctx context.Context, token string) ([]api.Permission, error)
Next http.HandlerFunc
}