mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
fix(kobo): support GET request on analytics gettests endpoint
Kobo devices send GET requests to /v1/analytics/gettests during sync checks. Previously only POST was handled, causing 404 errors during subsequent syncs. Closes #697
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"totalRoutes": 367,
|
||||
"totalRoutes": 368,
|
||||
"byPermission": {
|
||||
"(none)": 164,
|
||||
"(none)": 165,
|
||||
"Permission.ManageMetadataConfig": 32,
|
||||
"Permission.EmailSend": 30,
|
||||
"Permission.LibraryEditMetadata": 31,
|
||||
|
||||
@@ -195,6 +195,18 @@
|
||||
"file": "server/src/modules/kobo/kobo-device.controller.ts",
|
||||
"className": "KoboDeviceController",
|
||||
"methodName": "getTests",
|
||||
"httpMethod": "GET",
|
||||
"path": "/kobo/:deviceToken/v1/analytics/gettests",
|
||||
"permissions": [],
|
||||
"libraryAccess": [],
|
||||
"isPublic": true,
|
||||
"allowDefault": false,
|
||||
"useGuards": ["KoboTokenGuard"]
|
||||
},
|
||||
{
|
||||
"file": "server/src/modules/kobo/kobo-device.controller.ts",
|
||||
"className": "KoboDeviceController",
|
||||
"methodName": "postGetTests",
|
||||
"httpMethod": "POST",
|
||||
"path": "/kobo/:deviceToken/v1/analytics/gettests",
|
||||
"permissions": [],
|
||||
|
||||
Reference in New Issue
Block a user