Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2022-10-09 09:04:58 +00:00
parent afabfb8a43
commit b6bcd442c1

View File

@ -36523,7 +36523,7 @@ czB:function czB(){},
bgZ(a,b,c,d,e){var s,r
if(B.c.co(a,"https://invoicing.co"))e=""
s=t.X
r=A.t(["X-CLIENT-VERSION","5.0.96","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
r=A.t(["X-CLIENT-VERSION","5.0.97","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.u(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.u(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.aD.giK().e7(d)
@ -36532,8 +36532,8 @@ dr6(a){var s,r=a.e,q=r.h(0,"x-app-version"),p=r.h(0,"x-minimum-client-version")
r=a.b
if(r>=500)throw A.i(A.eEK(r,a.ghZ(a)))
else if(q==null)throw A.i("Error: please check that Invoice Ninja v5 is installed on the server")
else{s=A.arl(A.arm("5.0.96"),A.arm(p))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.96 < Minimum v"+A.k(p)+"]")
else{s=A.arl(A.arm("5.0.97"),A.arm(p))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.97 < Minimum v"+A.k(p)+"]")
else{s=A.arl(A.arm(q),A.arm("5.0.4"))
if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+q+" < Minimum v5.0.4]")
else if(r>=400)throw A.i(A.eEK(r,a.ghZ(a)))}}},
@ -186610,7 +186610,7 @@ return A.O($async$$0,r)},
$S:33}
A.e6t.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.dy=a.ay="5.0.96"
a.dy=a.ay="5.0.97"
a.at=new A.e6p(this.a)},
$S:3029}
A.e6p.prototype={
@ -188442,7 +188442,7 @@ r=this.y.a[r].b.x
r=r==null?null:r.x
s="v"+(r==null?"":r)
if(s.length!==0)s+="-"
return B.c.aj(s+A.eGf(),B.a.ga0("5.0.96".split(".")))},
return B.c.aj(s+A.eGf(),B.a.ga0("5.0.97".split(".")))},
gwV(){var s=this,r=s.w.k4,q=s.x.a
q=s.y.a[q].b.f.eJ
q=r.b.h(0,q).a.a