Hi,
You can try this:
public class CreateScreenDesignConsumer : IConsumer<IScreenDesignCreateCommand>
{
private readonly IScreenRootManager _screenRootManager;
private readonly ILogger<CreateScreenDesignConsumer> _logger;
public CreateScreenDesignConsumer(IScreenRootManager screenRootManager, ILogger<CreateScreenDesignConsumer> logger)
{
_screenRootManager = screenRootManager;
_logger = logger;
}
public virtual async Task Consume(ConsumeContext<IScreenDesignCreateCommand> context)
{
try
{
var result = await _screenRootManager.CreateAsync(context.Message);
await context.RespondAsync(new Result<ScreenDesignCreateResult>(data: result));
}
catch (Exception ex)
{
await context.RespondAsync<Fault<Result>>
(new { Message = "ScreenDeisgn:CreateFail", FaultMessage = ex.Message, FaultStackTrace = ex.StackTrace });
}
}
}
Hi,
The problem is that the access_token's lifetime is short. You can change the cache expiration time
When I look at the logs, it says that the token expired at 08:28:00. So how did the request sent at 8:32:00 return 200?
This is the JWT token clock skew https://stackoverflow.com/questions/47153080/clock-skew-and-tokens
Hi,
The problem is that the access_token's lifetime is short. You can change the cache expiration time
When I look at the logs, it says that the token expired at 08:28:00. So how did the request sent at 8:32:00 return 200?
This is the JWT token clock skew https://stackoverflow.com/questions/47153080/clock-skew-and-tokens
Hi,
okay, good to see that the problem was solved.
I am sending a request to the merchant/detail endpoint.
could you share your code?
The operation was canceled
seems like the client canceled the request. is there any other error message?
Hi,
you can create a new project with React Native and copy it to your existing project.
you need to :