Skip to content

Commit da45f8b

Browse files
authored
LINK_BUTTON needs a GET not a POST endpoint (#40)
1 parent 2585ac0 commit da45f8b

File tree

7 files changed

+8
-24
lines changed

7 files changed

+8
-24
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencrvs/mosip",
3-
"version": "1.7.0-alpha.10",
3+
"version": "1.7.0-alpha.11",
44
"license": "MPL-2.0",
55
"private": true,
66
"packageManager": "yarn@1.22.13",

packages/country-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencrvs/mosip",
3-
"version": "1.7.0-alpha.10",
3+
"version": "1.7.0-alpha.11",
44
"license": "MPL-2.0",
55
"main": "./build/index.js",
66
"exports": {

packages/esignet-mock/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opencrvs/esignet-mock",
33
"license": "MPL-2.0",
4-
"version": "1.7.0-alpha.10",
4+
"version": "1.7.0-alpha.11",
55
"main": "index.js",
66
"scripts": {
77
"dev": "NODE_ENV=development tsx watch src/index.ts",

packages/esignet-mock/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const authorizeSchema = {
142142
},
143143
};
144144

145-
app.post("/authorize", {
145+
app.get("/authorize", {
146146
schema: authorizeSchema,
147147
handler: async (request: any, reply) => {
148148
const htmlFilePath = path.join(__dirname, "./mock-authorizer/index.html");

packages/mosip-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencrvs/mosip-api",
3-
"version": "1.7.0-alpha.10",
3+
"version": "1.7.0-alpha.11",
44
"license": "MPL-2.0",
55
"scripts": {
66
"dev": "NODE_ENV=development tsx watch src/index.ts",

packages/mosip-mock/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencrvs/mosip-mock",
3-
"version": "1.7.0-alpha.10",
3+
"version": "1.7.0-alpha.11",
44
"license": "MPL-2.0",
55
"scripts": {
66
"dev": "NODE_ENV=development tsx watch src/index.ts",

yarn.lock

+2-18
Original file line numberDiff line numberDiff line change
@@ -1911,16 +1911,7 @@ statuses@2.0.1:
19111911
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63"
19121912
integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==
19131913

1914-
"string-width-cjs@npm:string-width@^4.2.0":
1915-
version "4.2.3"
1916-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1917-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
1918-
dependencies:
1919-
emoji-regex "^8.0.0"
1920-
is-fullwidth-code-point "^3.0.0"
1921-
strip-ansi "^6.0.1"
1922-
1923-
string-width@^4.1.0:
1914+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
19241915
version "4.2.3"
19251916
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
19261917
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -1945,14 +1936,7 @@ string_decoder@^1.3.0:
19451936
dependencies:
19461937
safe-buffer "~5.2.0"
19471938

1948-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
1949-
version "6.0.1"
1950-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1951-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
1952-
dependencies:
1953-
ansi-regex "^5.0.1"
1954-
1955-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
1939+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
19561940
version "6.0.1"
19571941
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
19581942
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==

0 commit comments

Comments
 (0)