summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco <marcoambrosini@icloud.com>2023-03-15 13:18:01 +0100
committerJoas Schilling <coding@schilljs.com>2023-03-31 14:07:31 +0200
commitb32ce67f6d68fc4ed11784574675c6065ed89d9d (patch)
treee47c3e87239e86d52c8fc7bd6a5878e62b1875cf
parent5fb0dc148fca58c109fdecc1c5daee88c4c68825 (diff)
Remove unused get method
Signed-off-by: Marco <marcoambrosini@icloud.com>
-rw-r--r--src/services/conversationsService.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/services/conversationsService.js b/src/services/conversationsService.js
index 7354a786e..1ee92a722 100644
--- a/src/services/conversationsService.js
+++ b/src/services/conversationsService.js
@@ -413,10 +413,6 @@ const setConversationPicture = async function(token, file) {
return axios.post(generateOcsUrl('apps/spreed/api/v1/room/{token}/avatar', { token }), file,)
}
-const getConversationPicture = async function(token) {
- return axios.get(generateOcsUrl('apps/spreed/api/v1/room/{token}/avatar', { token }))
-}
-
const deleteConversationPicture = async function(token) {
return axios.delete(generateOcsUrl('apps/spreed/api/v1/room/{token}/avatar', { token }))
}
@@ -450,6 +446,5 @@ export {
setMessageExpiration,
validatePassword,
setConversationPicture,
- getConversationPicture,
deleteConversationPicture,
}