Skip to content

Commit

Permalink
Fix /raw bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesura committed Apr 15, 2021
1 parent f3667b6 commit d60e632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastey/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def raw():
abort(401)

# Create paste
unique_id, key = new_paste("Untitled", request.data.decode('utf-8'), source_ip, single=False, encrypt=False)
unique_id, key = functions.new_paste("Untitled", request.data.decode('utf-8'), source_ip, single=False, encrypt=False)
link = request.url.rsplit('/', 1)[0] + "/view/" + unique_id

return link, 200
Expand Down

0 comments on commit d60e632

Please sign in to comment.