Sfoglia il codice sorgente

fix: remove _method from resolveAuthId query

gangvy 5 mesi fa
parent
commit
64b51a7335
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      src/app/app.ts

+ 0 - 1
src/app/app.ts

@@ -256,7 +256,6 @@ export class App implements OnInit {
     // 1. 查询已有 APIGAuth
     // 1. 查询已有 APIGAuth
     try {
     try {
       const query: any = {
       const query: any = {
-        _method: 'GET',
         where: JSON.stringify({
         where: JSON.stringify({
           api: { __type: 'Pointer', className: 'APIG', objectId: apig },
           api: { __type: 'Pointer', className: 'APIG', objectId: apig },
           company: { __type: 'Pointer', className: 'Company', objectId: user }
           company: { __type: 'Pointer', className: 'Company', objectId: user }