Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoEmbrace committed Jan 17, 2025
1 parent c010b84 commit 2776f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/EmbraceCore/Internal/Embrace+Setup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extension Embrace {
let baseUrl = EMBDevice.isDebuggerAttached ? endpoints.developmentBaseURL : endpoints.baseURL
guard let spansURL = URL.spansEndpoint(basePath: baseUrl),
let logsURL = URL.logsEndpoint(basePath: baseUrl),
let attachmentsURL = URL.attachmentsEndpoit(basePath: baseUrl) else {
let attachmentsURL = URL.attachmentsEndpoint(basePath: baseUrl) else {
Embrace.logger.error("Failed to initialize endpoints!")
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/EmbraceCore/Utils/URL+Embrace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension URL {
return endpoint(basePath: basePath, apiPath: "/v2/logs")
}

static func attachmentsEndpoit(basePath: String) -> URL? {
static func attachmentsEndpoint(basePath: String) -> URL? {
return endpoint(basePath: basePath, apiPath: "/v2/attachments")
}
}

0 comments on commit 2776f13

Please sign in to comment.