File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -204,10 +204,24 @@ export const AddMemberToSigPage: FC = () => {
204204 rid : string ;
205205 } ;
206206
207- await api . patch ( `/api/v1/iam/groups/:${ data . groupid } ` , {
208- add : [ data . aid ] ,
209- remove : [ data . rid ] ,
210- } ) ;
207+ try {
208+ const response = await api . patch ( `/api/v1/iam/groups/:${ data . groupid } ` , {
209+ add : [ data . aid ] ,
210+ remove : [ data . rid ] ,
211+ } ) ;
212+
213+ console . warn ( `GRAPH API RESPONSE: ${ response } ` ) ;
214+ notifications . show ( {
215+ message : JSON . stringify ( response ) ,
216+ } ) ;
217+ } catch ( error ) {
218+ notifications . show ( {
219+ message : JSON . stringify ( error ) ,
220+ } ) ;
221+ }
222+
223+ // console.log(response);
224+
211225 // console.log(
212226 // `/api/v1/iam/groups/:${data.groupid}`,
213227 // { add: [data.aid], remove: [data.rid] },
You can’t perform that action at this time.
0 commit comments