Add new FileID for PUT upload endpoint

This commit is contained in:
Fornax committed 2021-09-27 20:46:27 +02:00
1 parent 104c99b1b6
commit 9a700b4dc1
1 file changed
+4 -1
+4 -1
View File
@@ -7,10 +7,13 @@ import (
)
// FileID is returned when a file has been sucessfully uploaded
type FileID struct {
type FileIDCompat struct {
Success bool `json:"success"`
ID string `json:"id"`
}
type FileID struct {
ID string `json:"id"`
}
// FileInfo is the public file information response
type FileInfo struct {