THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

Revert "webhook: Fix webhook bug"

This reverts commit 4c2c5fbb4b.
pull/408/head
Suwon Chae 2 years ago
parent
commit
622d9f841d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/AbstractPostingApp.java

+ 1
- 1
app/controllers/AbstractPostingApp.java View File

@ -104,6 +104,7 @@ public class AbstractPostingApp extends Controller {
if (!StringUtils.defaultString(original.body, "").equals(StringUtils.defaultString(posting.body, ""))) {
posting.history = addToHistory(original, posting) + StringUtils.defaultString(original.history, "");
}
preUpdateHook.run();
try {
posting.checkLabels();
@ -120,7 +121,6 @@ public class AbstractPostingApp extends Controller {
// Attach the files in the current user's temporary storage.
attachUploadFilesToPost(original.asResource());
preUpdateHook.run();
return redirect(redirectTo);
}

Loading…
Cancel
Save