From cec59c219e02459ccf26f4061790fbfe8710d236 Mon Sep 17 00:00:00 2001 From: codeakki Date: Tue, 2 Aug 2022 21:30:56 +0530 Subject: [PATCH] fixes link get request --- apps/api/src/app/app.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/app.service.ts b/apps/api/src/app/app.service.ts index 9c8126f6..72261256 100644 --- a/apps/api/src/app/app.service.ts +++ b/apps/api/src/app/app.service.ts @@ -116,7 +116,7 @@ export class AppService { const url = response[0].url const params = response[0].params const ret = []; - if(params != null){ + if(params == null){ return url; }else { Object.keys(params).forEach(function(d) {