Fixing API Creation Error Message (#11745)

This commit is contained in:
SourceDoctor
2020-05-31 01:26:02 +02:00
committed by GitHub
parent 5f3b82de6f
commit 4977394a1e

View File

@@ -232,7 +232,7 @@ if (Auth::user()->hasGlobalAdmin()) {
}
},
error: function(){
$("#thanks").html('<div class="alert alert-info">An error occurred removing the token.</div>');
$("#thanks").html('<div class="alert alert-info">An error occurred creating the token.</div>');
$("#create-token").modal('hide');
}
});