fix json doble quotes

This commit is contained in:
Cayo Puigdefabregas 2023-09-21 18:40:21 +02:00
parent 8a7a9476fe
commit 0b70f42daa
1 changed files with 3 additions and 3 deletions

View File

@ -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