FIX: Cache short upload URL (#8541)
The code for caching was already there, but it was caching invalid data, which automatically invalidated the cache entry.
This commit is contained in:
parent
43ca1bb132
commit
b6589f203b
|
@ -755,7 +755,7 @@ export default Component.extend({
|
|||
getUploadMarkdown(upload)
|
||||
);
|
||||
|
||||
cacheShortUploadUrl(upload.short_url, upload.url);
|
||||
cacheShortUploadUrl(upload.short_url, upload);
|
||||
this.appEvents.trigger(
|
||||
"composer:replace-text",
|
||||
this.uploadPlaceholder.trim(),
|
||||
|
|
Loading…
Reference in New Issue