mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Rename bulk-progress
to bulk_progress
This commit is contained in:
parent
341b586cb3
commit
4f6df5b9a3
@ -218,7 +218,7 @@ const selectedIDs = () => {
|
||||
const bulkProgress = (action, el) => {
|
||||
const tid = $(el).attr('data-id');
|
||||
const ids = selectedIDs();
|
||||
const url = `${base_url}api/bulk-progress/${action}/${tid}`;
|
||||
const url = `${base_url}api/bulk_progress/${action}/${tid}`;
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: url,
|
||||
|
@ -311,7 +311,7 @@ class APIRouter < Router
|
||||
Koa.path "tid", desc: "Title ID"
|
||||
Koa.body ref: "$strAry", desc: "An array of entry IDs"
|
||||
Koa.response 200, ref: "$result"
|
||||
post "/api/bulk-progress/:action/:tid" do |env|
|
||||
post "/api/bulk_progress/:action/:tid" do |env|
|
||||
begin
|
||||
username = get_username env
|
||||
title = (@context.library.get_title env.params.url["tid"]).not_nil!
|
||||
|
Loading…
x
Reference in New Issue
Block a user