main #19
@ -44,9 +44,7 @@ export default {
 | 
			
		||||
        let h = context.rootGetters.headers;
 | 
			
		||||
        h.headers["content-type"] = "multipart/form-data";
 | 
			
		||||
        axios.put(context.rootGetters.server + "/api/radios/" + radio._id + "/cover", formData, h).then((res) => {
 | 
			
		||||
          radio.cover32 = res.data.cover32;
 | 
			
		||||
          radio.cover64 = res.data.cover64;
 | 
			
		||||
          radio.cover128 = res.data.cover128;
 | 
			
		||||
          radio.covers = res.data.covers;
 | 
			
		||||
          context.dispatch("loadRadios", true);
 | 
			
		||||
        });
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user