very basic api documentation autogeneration
This commit is contained in:
@@ -30,7 +30,7 @@ type CommonAPI struct {
|
||||
}
|
||||
|
||||
type jwtPayload struct {
|
||||
Allow []string
|
||||
Allow []api.Permission
|
||||
}
|
||||
|
||||
func (a *CommonAPI) AuthVerify(ctx context.Context, token string) ([]api.Permission, error) {
|
||||
|
||||
Reference in New Issue
Block a user