Skip to content

Commit

Permalink
Update deferred deeplink API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
najmsheikh committed Jul 28, 2020
1 parent 5ec1a49 commit 3480dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -82,7 +82,7 @@ public PostInstallLink getPendingLink(String applicationId, @Nullable String adv
requestBody.put("signals", new JSONObject(signalsMap));

ApiRequest apiRequest = new ApiRequest.Builder(ApiRequest.RequestMethod.POST,
"/v1/web/deferred-deeplink")
"/v1/app/deferred-deeplink")
.setBody(requestBody)
.build();

Expand Down
Expand Up @@ -107,7 +107,7 @@ public void getPendingLink_validateRequest() throws Exception {
JSONObject signals = body.getJSONObject("signals");

assertEquals(apiRequest.getRequestMethod(), ApiRequest.RequestMethod.POST);
assertEquals(apiRequest.getPath(), "/v1/web/deferred-deeplink");
assertEquals(apiRequest.getPath(), "/v1/app/deferred-deeplink");

// request body
assertEquals("valid_application_id", body.getString("application_id"));
Expand Down

0 comments on commit 3480dc9

Please sign in to comment.