refac
This commit is contained in:
1 parent
0c5fbdedd8
commit
49a6211d36
1 file changed
+2
-3
@@ -146,6 +146,8 @@ async def sync_functions(
|
||||
function.id,
|
||||
content=function.content,
|
||||
)
|
||||
|
||||
return Functions.sync_functions(user.id, form_data.functions)
|
||||
except Exception as e:
|
||||
log.exception(f"Failed to load a function: {e}")
|
||||
raise HTTPException(
|
||||
@@ -154,9 +156,6 @@ async def sync_functions(
|
||||
)
|
||||
|
||||
|
||||
return Functions.sync_functions(user.id, form_data.functions)
|
||||
|
||||
|
||||
############################
|
||||
# CreateNewFunction
|
||||
############################
|
||||
|
||||
Reference in new issue
Block a user