Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2025-05-25 13:51:34 +00:00
parent 6daded81ae
commit f491138953
1 changed files with 5 additions and 5 deletions

View File

@ -221863,7 +221863,7 @@ if(B.c.c0(a,"https://invoicing.co"))e=""
s=A.fgb()
r=e==null?"":e
q=t.N
p=A.r(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.173","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q)
p=A.r(["X-CLIENT-PLATFORM",s,"X-CLIENT-VERSION","5.0.174","X-API-SECRET",r,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],q,q)
if(b.length!==0)p.A(0,"X-API-Token",b)
s=c==null
if((s?"":c).length!==0)p.A(0,"X-API-OAUTH-PASSWORD",s?"":c)
@ -221875,10 +221875,10 @@ aqQ(a,b){return this.a6X(a,b,null,null,null)},
UT(a,b){var s=b.e,r=s.h(0,"x-app-version"),q=s.h(0,"x-minimum-client-version"),p=b.b
if(p>=500)throw A.p(this.auB(p,b.gk0(0),b.c))
else if(r==null){p=b.gk0(0).length>200?B.c.aQ(b.gk0(0),0,200):b.gk0(0)
throw A.p("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.M8("5.0.173")
throw A.p("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.M8("5.0.174")
q.toString
s=A.We(s,A.M8(q))
if(s<0)throw A.p("Error: client not supported, please update to the latest version [Current v5.0.173 < Minimum v"+q+"]")
if(s<0)throw A.p("Error: client not supported, please update to the latest version [Current v5.0.174 < Minimum v"+q+"]")
else{s=A.We(A.M8(r),A.M8("5.0.4"))
if(s<0)throw A.p("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]")
else if(p>=400)throw A.p(this.auB(p,b.gk0(0),b.c))}}},
@ -221928,7 +221928,7 @@ return s.a=s.a+("\n \u2022 "+A.t(a))},
$S:11}
A.eTr.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.go=a.cy="5.0.173"
a.go=a.cy="5.0.174"
a.ay=new A.eTo(this.a)},
$S:1319}
A.eTo.prototype={
@ -223971,7 +223971,7 @@ s=r==="system"?s.cx:r==="dark"}else s=!1
if(s)o=p}return A.h4(o)},
gPL(a){var s="v"+this.y.a[this.x.a].b.x.x
if(s.length!==0)s+="-"
return B.c.ar(s+A.fyv(),B.a.ga7("5.0.173".split(".")))},
return B.c.ar(s+A.fyv(),B.a.ga7("5.0.174".split(".")))},
gv7(){var s=this,r=s.w.RG.b.h(0,s.y.a[s.x.a].b.f.dg).a.a,q=A.J(r).i("a8<1>")
return A.v(new A.a8(r,new A.bDi(s),q),!0,q.i("x.E"))},
gaKg(){var s=this.w.RG.b.h(0,this.y.a[this.x.a].b.f.dg).a