Commit b238e85
committed
fix: Correct admin API route paths (remove /admin/ prefix)
Strapi admin API routes don't include /admin/ in the path.
The plugin prefix is enough.
- Changed: /magic-sessionmanager/admin/user/... → /magic-sessionmanager/user/...
- Strapi automatically routes admin type routes correctly
- Fixes 404 error in SessionInfoPanel and SessionInfoCard
Now admin components use correct route: /magic-sessionmanager/user/:userId/sessions1 parent 7c042bf commit b238e85
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments