Fix jira auth data creation
parent
e3b390087a
commit
500fe01b6e
|
@ -13,6 +13,8 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import uuid
|
||||||
|
|
||||||
from django.utils.translation import ugettext as _
|
from django.utils.translation import ugettext as _
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
|
@ -193,7 +195,7 @@ class JiraImporterViewSet(viewsets.ViewSet):
|
||||||
user=request.user,
|
user=request.user,
|
||||||
key="jira-oauth",
|
key="jira-oauth",
|
||||||
defaults={
|
defaults={
|
||||||
"value": "",
|
"value": uuid.uuid4().hex,
|
||||||
"extra": {},
|
"extra": {},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue