Skip to content

Commit

Permalink
fix typo in store_auth_code_sub callback example
Browse files Browse the repository at this point in the history
  • Loading branch information
leejo committed Sep 26, 2016
1 parent 61ad204 commit e570d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Net/OAuth2/AuthorizationServer/Manual.pod
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ the verify_auth_code callback for verification:
my $store_auth_code_sub = sub {
my ( %args ) = @_;

my ( $obj,$auth_code,$client_id,$expires_in,$uri,$scopes_ref ) = @_;
my ( $obj,$auth_code,$client_id,$expires_in,$uri,$scopes_ref ) =
@args{qw/ mojo_controller auth_code client_id expires_in redirect_uri scopes / };

my $auth_codes = $obj->db->get_collection( 'auth_codes' );
Expand Down

0 comments on commit e570d3c

Please sign in to comment.