Skip to content

Commit

Permalink
Merge pull request #375 from dropbox/treat-access-error-as-access-errors
Browse files Browse the repository at this point in the history
Use correct DBRequestErrorTag on access errors
  • Loading branch information
julianlocke authored Feb 6, 2024
2 parents 9c6f62e + f417d23 commit ef49fcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ - (instancetype)initAsAccessError:(NSString *)requestId
errorContent:(NSString *)errorContent
userMessage:(DBLocalizedUserMessage *)userMessage
structuredAccessError:(DBAUTHAccessError *)structuredAccessError {
return [self init:DBRequestErrorAuth
return [self init:DBRequestErrorAccess
requestId:requestId
statusCode:statusCode
errorContent:errorContent
Expand Down

0 comments on commit ef49fcf

Please sign in to comment.