Skip to content

fn new_session returns wrong type? #344

Description

@KyleSebion

Not sure if this is the right place.
I was reading https://www.shuttle.dev/blog/2022/08/11/authentication-tutorial.
I saw that fn new_session is declared to return a String but seems to actually return a u128.
I tested similar, but simpler, code at https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=7f53177c59d32f1e9ac8a908c69bc9e6 and it gave an error.

The following seems to be the same fn as at shuttle.dev:

pub(crate) async fn new_session(

Am I reading/doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions