Private
Public Access
fix: el 201 tiene body empty + .dockerignore
This commit is contained in:
1 parent
34af36f008
commit
42e9d4d935
2 files changed
+23
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
node_modules
|
||||
|
||||
.git
|
||||
.gitignore
|
||||
|
||||
.svelte-kit
|
||||
build
|
||||
dist
|
||||
|
||||
.env
|
||||
.env.*
|
||||
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
|
||||
README.md
|
||||
AGENTS.md
|
||||
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
*.log
|
||||
@@ -18,8 +18,8 @@ export async function agregarGrupoAUsuario(
|
||||
body: JSON.stringify(dto)
|
||||
});
|
||||
|
||||
let data = await req.json();
|
||||
if (!req.ok) {
|
||||
let data = await req.json();
|
||||
return data.error || 'Error';
|
||||
}
|
||||
callback();
|
||||
|
||||
Reference in new issue
Block a user