Skip to content

Commit 6d07883

Browse files
committed
delete for delete
1 parent bdf0351 commit 6d07883

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/updater.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub async fn delete(dp: &DinoParkSettings, n: &Notification) -> Result<Value, Er
164164
.map_err(UpdateError::SearchDelete)
165165
.map_ok(|_| info!("deleted from search: {}", &id));
166166
let picture_delete = Client::new()
167-
.post(&format!("{}/{}", dp.picture_delete_endpoint, uuid))
167+
.delete(&format!("{}/{}", dp.picture_delete_endpoint, uuid))
168168
.send()
169169
.map_err(UpdateError::PicturesDelete)
170170
.map_ok(|_| info!("deleted from pictures: {}", &id));

0 commit comments

Comments
 (0)