mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-26 15:35:51 +03:00
[PR #102] [CLOSED] Upload.php: Return the same JSON Structure for files that are already existing #156
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/HaschekSolutions/pictshare/pull/102
Author: @Scarwolf
Created: 11/3/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
6b4347dExisting Files now return the same JSON Structure9cd70e3Change indentation📊 Changes
1 file changed (+9 additions, -2 deletions)
View changed files
📝
api/upload.php(+9 -2)📄 Description
Hey there,
I was integrating Pictshare's API in the Screenshot Tool ShareX and struggling for an hour, wondering why the Script did not return the
delete_urlparam.Eventually I found out this was related to Sharex Uploading the same file over and over again to test and the /upload endpoint returning a different JSON Structure for files that have been uploaded before.
So I created this PR which returns the Same values as if the file uploaded would not have been uploaded before.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.