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

Authorization service is not exported in services index.ts #12207

Closed
3 tasks done
aerdnach opened this issue Mar 17, 2022 · 1 comment · Fixed by #12208
Closed
3 tasks done

Authorization service is not exported in services index.ts #12207

aerdnach opened this issue Mar 17, 2022 · 1 comment · Fixed by #12208
Labels

Comments

@aerdnach
Copy link

Preflight Checklist

Describe the Bug

I'm not sure if this can be considered a bug, if there is a more appropriate place for this kind of report let me know and I'll move it.

I noticed that in /api/src/services/index.ts the authorization service (/api/src/services/authorization.ts) is not exported. Is this intentional? I have tried to add it because I need it in my extension and it works correctly. The use case is this one: define a custom endpoint that expose validatePayload method from AuthorizationService class.

To Reproduce

.

Errors Shown

.

What version of Directus are you using?

9.6.0

What version of Node.js are you using?

16

What database are you using?

postgres

What browser are you using?

chrome

What operating system are you using?

linux

How are you deploying Directus?

locally

@rijkvanzanten
Copy link
Member

I noticed that in /api/src/services/index.ts the authorization service (/api/src/services/authorization.ts) is not exported. Is this intentional?

Nope! Fixed in #12208 👍🏻

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants