File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace OpenShock.API.Controller.Shares.Links;
1212[ ApiController ]
1313[ Tags ( "Public Shocker Shares" ) ]
1414[ Route ( "/{version:apiVersion}/shares/links" ) ]
15- [ Authorize ( AuthenticationSchemes = OpenShockAuthSchemas . UserSessionApiTokenCombo ) ]
15+ [ Authorize ( AuthenticationSchemes = OpenShockAuthSchemas . UserSessionCookie ) ]
1616public sealed partial class ShareLinksController : AuthenticatedSessionControllerBase
1717{
1818 private readonly OpenShockContext _db ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace OpenShock.API.Controller.Shares;
1414[ Tags ( "Shocker Shares" ) ]
1515[ ApiVersion ( "1" ) , ApiVersion ( "2" ) ]
1616[ Route ( "/{version:apiVersion}/shares" ) ]
17- [ Authorize ( AuthenticationSchemes = OpenShockAuthSchemas . UserSessionApiTokenCombo ) ]
17+ [ Authorize ( AuthenticationSchemes = OpenShockAuthSchemas . UserSessionCookie ) ]
1818public sealed partial class SharesController : AuthenticatedSessionControllerBase
1919{
2020 private readonly OpenShockContext _db ;
You can’t perform that action at this time.
0 commit comments