Skip to content

Commit

Permalink
Fix place file reading
Browse files Browse the repository at this point in the history
  • Loading branch information
tenx29 committed Apr 2, 2023
1 parent ce07ebb commit c93d3fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16305,7 +16305,7 @@ try {
console.log(`Uploading place file ${placeFile}`);
axios.post(
`https://apis.roblox.com/universes/v1/${universeId}/places/${placeId}/versions?versionType=${versionType}`,
fs.readFileSync(placeFile, 'utf-8'),
fs.readFileSync(placeFile),
{
headers: {
'x-api-key': apiKey,
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ try {
console.log(`Uploading place file ${placeFile}`);
axios.post(
`https://apis.roblox.com/universes/v1/${universeId}/places/${placeId}/versions?versionType=${versionType}`,
fs.readFileSync(placeFile, 'utf-8'),
fs.readFileSync(placeFile),
{
headers: {
'x-api-key': apiKey,
Expand Down

0 comments on commit c93d3fa

Please sign in to comment.