Fix compile failure due to changes in portal-service SNAPSHOT API