Skip to content

Commit 7b3c75a

Browse files
committed
applied @ArtOfCode-'s casing fix manually due to GH error
1 parent f598041 commit 7b3c75a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/assets/javascripts/qpixel_api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ window.QPixel = {
430430
},
431431

432432
handleJSONResponse: (data, onSuccess, onFinally) => {
433-
const is_failed = data.status === 'failed';
433+
const isFailed = data.status === 'failed';
434434

435-
if(is_failed) {
435+
if(isFailed) {
436436
if (data.message) {
437437
QPixel.createNotification('danger', data.message);
438438
}
@@ -447,7 +447,7 @@ window.QPixel = {
447447

448448
onFinally?.(data);
449449

450-
return !is_failed;
450+
return !isFailed;
451451
},
452452

453453
flag: async (flag) => {

0 commit comments

Comments
 (0)