Skip to content

Commit

Permalink
Update updater.lua
Browse files Browse the repository at this point in the history
Fixed Updater
  • Loading branch information
1OSaft authored Dec 14, 2023
1 parent d0dc2ce commit 6336037
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/updater.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if Config.checkForUpdates then

CreateThread(function()
while true do
PerformHttpRequest("https://api.github.com/repos/wasabirobby/wasabi_backpack/releases/latest", CheckVersion, "GET")
PerformHttpRequest("https://api.github.com/repos/1OSaft/wasabi_backpack/releases/latest", CheckVersion, "GET")
Wait(3600000)
end
end)
Expand All @@ -38,7 +38,7 @@ if Config.checkForUpdates then
GetRepoInformations = function()
local repoVersion, repoURL, repoBody = nil, nil, nil

PerformHttpRequest("https://api.github.com/repos/wasabirobby/wasabi_backpack/releases/latest", function(err, response, headers)
PerformHttpRequest("https://api.github.com/repos/1OSaft/wasabi_backpack/releases/latest", function(err, response, headers)
if err == 200 then
local data = json.decode(response)

Expand All @@ -47,7 +47,7 @@ if Config.checkForUpdates then
repoBody = data.body
else
repoVersion = curVersion
repoURL = "https://github.com/wasabirobby/wasabi_backpack"
repoURL = "https://github.com/1OSaft/wasabi_backpack"
end
end, "GET")

Expand Down

0 comments on commit 6336037

Please sign in to comment.