I need a list of all topics subscribed by a user in grails version 3.3.9 having domain of subscription ,topic,users

23 Views Asked by At
 def subscribedTopicOfUser(){
        Users loggedInUser = Users.findByUserName(session.userSession)
        println(loggedInUser)
        def val=loggedInUser.id
        def subscribedTopicOfUser = Subscription.findAllWhere(loggedInUser : loggedInUser)
        println (subscribedTopicOfUser)
0

There are 0 best solutions below