Skip to content

Commit

Permalink
πŸ”€ Merge pull request #1 from PhearZero/fix-file-in-query-path
Browse files Browse the repository at this point in the history
πŸ› Fix file in query path
  • Loading branch information
PhearZero authored Apr 20, 2023
2 parents fffed7a + 1de5eca commit 8f57e9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ export const tpi = (url: URL): TuringPiInterface => {

// Set params
Object.keys(query).forEach((k) => {
params.set(k, query[k].toString())
if(k !== 'file'){
params.set(k, query[k].toString())
}
})

// Fetch
Expand Down

0 comments on commit 8f57e9d

Please sign in to comment.