Skip to content

Commit

Permalink
Fix BaseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
devSparkle committed Jan 25, 2024
1 parent e562d06 commit ff6add1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Transport.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function Module:CaptureEvent(EncodedPayload)
end

return RequestAsync({
Url = self.BaseUrl .. "/store/",
Url = self.BaseUrl .. "store/",
Method = "POST",
Headers = {
["Content-Type"] = "application/json",
Expand All @@ -102,7 +102,7 @@ function Module:CaptureEnvelope(Payload)
local Item = HttpService:JSONEncode({type = "session", length = #Payload})

return RequestAsync({
Url = self.BaseUrl .. "/envelope/",
Url = self.BaseUrl .. "envelope/",
Method = "POST",
Headers = {
["Content-Type"] = "application/x-sentry-envelope",
Expand Down
2 changes: 1 addition & 1 deletion src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local SDK = setmetatable({}, {__index = HubClass.new()})

HubClass.SDK_INTERFACE = table.freeze({
name = "sentry.roblox.devsparkle",
version = "1.2.0",
version = "1.2.1",
})

local SENTRY_PROTOCOL_VERSION = 7
Expand Down
4 changes: 1 addition & 3 deletions wally.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "devsparkle/sentry-roblox"
description = "An unofficial Roblox SDK for Sentry.io"
version = "1.2.0"
version = "1.2.1"
license = "BSD-2-Clause"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"

[dependencies]

0 comments on commit ff6add1

Please sign in to comment.