Skip to content

Commit

Permalink
refactor: update API URL in removeFriend.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Prioq committed Sep 26, 2024
1 parent 6116dd6 commit aa3316a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/friends/removeFriend.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports.func = function (args) {
return getGeneralToken({ jar }).then(function (xcsrf) {
let apiUrl = args.apiUrl
if (!apiUrl) {
apiUrl = 'api.roblox.com'
apiUrl = 'friends.roblox.com'
}

return removeFriend(jar, xcsrf, args.userId, apiUrl)
Expand Down

0 comments on commit aa3316a

Please sign in to comment.