diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-08-10 12:05:45 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-08-10 14:04:23 -0400 |
commit | c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705 (patch) | |
tree | d90cdfebf96ac6a4557a8caaefe06888b7d9d6ba /model/file.go | |
parent | 4b74c873cc95973c5434988a41f5e06446a4e586 (diff) | |
download | chat-c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705.tar.gz chat-c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705.tar.bz2 chat-c9a1bf2d336cc5718cdf327f37cfdf87dc0e2705.zip |
Changed post drafts to maintain a store a unique id for each file upload to fix issues with duplicate file names
Diffstat (limited to 'model/file.go')
-rw-r--r-- | model/file.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/file.go b/model/file.go index 7f5a3f916..3d38ddbd1 100644 --- a/model/file.go +++ b/model/file.go @@ -19,6 +19,7 @@ var ( type FileUploadResponse struct { Filenames []string `json:"filenames"` + ClientIds []string `json:"client_ids"` } func FileUploadResponseFromJson(data io.Reader) *FileUploadResponse { |