[Update] 修改设置最新版本

pull/3405/head
ibuler 2019-11-01 14:09:44 +08:00
parent 87247da0ec
commit 28ad362b8d
1 changed files with 1 additions and 0 deletions

View File

@ -26,4 +26,5 @@ class AuthBookBackend(BaseBackend):
} }
obj = AuthBook.objects.create(**kwargs) obj = AuthBook.objects.create(**kwargs)
obj.set_auth(**auth_info) obj.set_auth(**auth_info)
obj.set_version_and_latest()
return obj return obj