fix bugs
diff --git a/plstackapi/planetstack/views/sites.py b/plstackapi/planetstack/views/sites.py
index fa693cf..f40c0fa 100644
--- a/plstackapi/planetstack/views/sites.py
+++ b/plstackapi/planetstack/views/sites.py
@@ -19,7 +19,7 @@
return Response(status=status.HTTP_400_BAD_REQUEST)
elif 'site' in data:
site = add_site(data['auth'], data['site'])
- serializer = SiteSerializer(data=site)
+ serializer = SiteSerializer(site)
return Response(serializer.data, status=status.HTTP_201_CREATED)
else:
sites = get_sites(data['auth'])