From c67ce06ea60bee40379af36bc8d992d674bca78a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 15 Nov 2022 20:02:50 +0000 Subject: [PATCH] Change endpoint name --- daemon.py | 2 +- webapp_post.py | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/daemon.py b/daemon.py index 5925e5f29..3fc43f5de 100644 --- a/daemon.py +++ b/daemon.py @@ -18239,7 +18239,7 @@ class PubServer(BaseHTTPRequestHandler): edit_post_params = {} if authorized and \ '/users/' in self.path and \ - '/editpost?scope=' in self.path and \ + '/postedit?scope=' in self.path and \ ';postid=' in self.path and \ ';actor=' in self.path: post_scope = self.path.split('?scope=')[1] diff --git a/webapp_post.py b/webapp_post.py index be30a24ab..5153749d4 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -542,8 +542,7 @@ def _get_edit_icon_html(base_dir: str, nickname: str, domain_full: str, edit_str += \ ' ' + \ '' + \ @@ -583,8 +582,7 @@ def _get_edit_icon_html(base_dir: str, nickname: str, domain_full: str, edit_str += \ ' ' + \ '' + \ @@ -599,8 +597,7 @@ def _get_edit_icon_html(base_dir: str, nickname: str, domain_full: str, edit_str += \ ' ' + \ '' + \ @@ -615,8 +612,7 @@ def _get_edit_icon_html(base_dir: str, nickname: str, domain_full: str, edit_str += \ ' ' + \ '' + \ @@ -631,8 +627,7 @@ def _get_edit_icon_html(base_dir: str, nickname: str, domain_full: str, edit_str += \ ' ' + \ '' + \