diff --git a/package-lock.json b/package-lock.json index 411482f..d2eee9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "biketag", - "version": "3.3.0", + "version": "3.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "biketag", - "version": "3.3.0", + "version": "3.3.2", "license": "AGPL-3.0-or-later", "dependencies": { "@sanity/client": "2.25.1-feature-image-file-input-refactor.150", "axios": "^0.21.1", "axios-cache-adapter": "^2.7.3", "form-data": "^4.0.0", - "imgur": "^2.4.0", + "imgur": "^2.4.1", "lodash": "^4.17.21", "tinycache": "^1.1.2", "util": "^0.12.4" @@ -7703,9 +7703,9 @@ } }, "node_modules/imgur": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/imgur/-/imgur-2.4.0.tgz", - "integrity": "sha512-b9rYX49D0pjD5JX4k5NxSxUNuXD1+UZGThl40wFrtSKQW3iHffcRG3mfYV0KpLynvY7hKD7nMfLsjl6fC0o/fw==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/imgur/-/imgur-2.4.1.tgz", + "integrity": "sha512-PF0PzKzWLgjwpzwXsUFdYvxl1R8rCZ9OzrLb3DPzxlwz6p4iNpGZz5Tt1ds+iZwtBvGxQuXqoSVODlfCL6MJ0w==", "dependencies": { "axios": "^0.25.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index b8b2a48..e43dfd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "biketag", - "version": "3.3.0", + "version": "3.3.2", "description": "The Javascript client API for BikeTag Games", "main": "./dist/index.js", "module": "./dist/index.mjs", @@ -71,7 +71,7 @@ "axios": "^0.21.1", "axios-cache-adapter": "^2.7.3", "form-data": "^4.0.0", - "imgur": "^2.4.0", + "imgur": "^2.4.1", "lodash": "^4.17.21", "tinycache": "^1.1.2", "util": "^0.12.4" diff --git a/src/sanity/getPlayers.ts b/src/sanity/getPlayers.ts index 782cd9e..9e9b4f5 100644 --- a/src/sanity/getPlayers.ts +++ b/src/sanity/getPlayers.ts @@ -47,7 +47,7 @@ export async function getPlayers( const response = { data: sortPlayers(playersData, payload.sort, payload.limit), - status: HttpStatusCode.Found, + status: HttpStatusCode.Ok, success: true, source: AvailableApis[AvailableApis.sanity], }