Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
paxo-rch committed Nov 14, 2024
1 parent ce511f4 commit acca7f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Controllers/Http/AppsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default class AppsController {

public async createProcess({ auth, request, response }: HttpContextContract) {
const data = request.body()
let imgUrl: string
const img = request.file('img')

if (!auth.user) return response.status(403)
Expand All @@ -58,7 +57,7 @@ export default class AppsController {
await img.moveToDisk('/appicons', {
name: filename
})
imgUrl = process.env.ACCESS_ADDRESS + "/uploads/appicons/" + filename
//imgUrl = process.env.ACCESS_ADDRESS + "/uploads/appicons/" + filename
}

await App.create({
Expand Down

0 comments on commit acca7f6

Please sign in to comment.