Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    ERROR in generateToken function

    Bugs
    0
    1
    1
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Hemanand last edited by

      There seems to issue with smartapi-javascript nodejs sdk.. In file smartapi-connect.js, generateToken method,

      there is issue with setting public token statement. Current statement,

      self.setPublicToken(token_data.data.refreshToken);

      This should be,

      self.setPublicToken(response.data.refreshToken);

      1 Reply Last reply Reply Quote 0
      • First post
        Last post