Skip to content

Commit

Permalink
fix: team method
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed May 11, 2024
1 parent 38559ca commit 091574f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uicons.js",
"version": "1.1.3",
"version": "1.1.4",
"description": "UICONS JavaScript Library",
"repository": "https://github.com/TurtIeSocks/uicons.js",
"author": "TurtIeSocks <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export class UICONS<Index extends UiconsIndex = UiconsIndex> {
if (!this.#extensionMap) throw new Error('UICONS not initialized')
const baseUrl = `${this.#path}/team`

const result = `${teamId}.${this.#extensionMap}`
const result = `${teamId}.${this.#extensionMap.team}`
if (this.#team.has(result)) {
return `${baseUrl}/${result}`
}
Expand Down

0 comments on commit 091574f

Please sign in to comment.