Skip to content

Commit

Permalink
Merge pull request #978 from shankari/usercache_get_nop
Browse files Browse the repository at this point in the history
⚡️ Always return an empty `server_to_phone` response
  • Loading branch information
shankari authored Sep 15, 2024
2 parents 802640c + 5c42542 commit 204cec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emission/net/api/cfc_webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ def getFromCache():
logging.debug("Called userCache.get")
user_uuid=getUUID(request)
logging.debug("user_uuid %s" % user_uuid)
to_phone = usercache.sync_server_to_phone(user_uuid)
# to_phone = usercache.sync_server_to_phone(user_uuid)
to_phone = []
return {'server_to_phone': to_phone}

@post('/usercache/put')
Expand Down

0 comments on commit 204cec1

Please sign in to comment.