Browse Source

fix(api): detect correctly whether dyn records have changed

This helps avoiding unecessary updates.
Peter Thomassen 8 years ago
parent
commit
39cdef0a27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/desecapi/views.py

+ 1 - 1
api/desecapi/views.py

@@ -354,7 +354,7 @@ class DynDNS12Update(APIView):
             return client_ip
 
         # give up
-        return ''
+        return None
 
     def findIPv4(self, request):
         return self.findIP(request, ['myip', 'myipv4', 'ip'])