fix json doble quotes
This commit is contained in:
parent
8a7a9476fe
commit
0b70f42daa
|
@ -1,4 +1,4 @@
|
||||||
|
import json
|
||||||
import click
|
import click
|
||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
|
@ -68,7 +68,7 @@ class AddContractOidc:
|
||||||
"client_id": self.member.client_id,
|
"client_id": self.member.client_id,
|
||||||
"client_secret": self.member.client_secret
|
"client_secret": self.member.client_secret
|
||||||
}
|
}
|
||||||
print(result)
|
print(json.dumps(result))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
result = self.save()
|
result = self.save()
|
||||||
|
@ -76,7 +76,7 @@ class AddContractOidc:
|
||||||
"client_id": result[0],
|
"client_id": result[0],
|
||||||
"client_secret": result[1]
|
"client_secret": result[1]
|
||||||
}
|
}
|
||||||
print(result)
|
print(json.dumps(result))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue