Skip to content

Commit

Permalink
feat: update m.np.playstation tld
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland committed Oct 18, 2022
1 parent 3184099 commit 9ca1551
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/search/SEARCH_BASE_URL.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SEARCH_BASE_URL = "https://m.np.playstation.net/api/search";
export const SEARCH_BASE_URL = "https://m.np.playstation.com/api/search";
2 changes: 1 addition & 1 deletion src/user/USER_BASE_URL.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const USER_BASE_URL =
"https://m.np.playstation.net/api/userProfile/v1/internal/users";
"https://m.np.playstation.com/api/userProfile/v1/internal/users";
4 changes: 2 additions & 2 deletions src/user/getProfileFromAccountId.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("Function: getProfileFromUserName", () => {

server.use(
rest.get(
"https://m.np.playstation.net/api/userProfile/v1/internal/users/111222333444/profiles",
"https://m.np.playstation.com/api/userProfile/v1/internal/users/111222333444/profiles",
(_, res, ctx) => {
return res(ctx.json(mockResponse));
}
Expand Down Expand Up @@ -72,7 +72,7 @@ describe("Function: getProfileFromUserName", () => {

server.use(
rest.get(
"https://m.np.playstation.net/api/userProfile/v1/internal/users/111222333444/profiles",
"https://m.np.playstation.com/api/userProfile/v1/internal/users/111222333444/profiles",
(_, res, ctx) => {
return res(ctx.json(mockResponse));
}
Expand Down
4 changes: 2 additions & 2 deletions src/user/getUserFriendsAccountIds.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("Function: getUserFriendsAccountIds", () => {

server.use(
rest.get(
"https://m.np.playstation.net/api/userProfile/v1/internal/users/me/friends",
"https://m.np.playstation.com/api/userProfile/v1/internal/users/me/friends",
(_, res, ctx) => {
return res(ctx.json(mockResponse));
}
Expand Down Expand Up @@ -63,7 +63,7 @@ describe("Function: getUserFriendsAccountIds", () => {

server.use(
rest.get(
"https://m.np.playstation.net/api/userProfile/v1/internal/users/111222333444/friends",
"https://m.np.playstation.com/api/userProfile/v1/internal/users/111222333444/friends",
(_, res, ctx) => {
return res(ctx.json(mockResponse));
}
Expand Down

1 comment on commit 9ca1551

@vercel
Copy link

@vercel vercel bot commented on 9ca1551 Oct 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.