|
@@ -72,6 +72,7 @@ public class MidjourneyServiceImpl implements MidjourneyService {
|
|
|
.setMode(mode).setStartTime(System.currentTimeMillis()).setProgress("0%")
|
|
.setMode(mode).setStartTime(System.currentTimeMillis()).setProgress("0%")
|
|
|
.setStatus("IN_PROGRESS").setTaskId(taskId);
|
|
.setStatus("IN_PROGRESS").setTaskId(taskId);
|
|
|
if (MapUtil.isNotEmpty(properties)) {
|
|
if (MapUtil.isNotEmpty(properties)) {
|
|
|
|
|
+ conversation.setProperties(properties.toString());
|
|
|
conversation.setChannelId(properties.get("discordChannelId") == null ? null : Long.parseLong(properties.get("discordChannelId").toString()))
|
|
conversation.setChannelId(properties.get("discordChannelId") == null ? null : Long.parseLong(properties.get("discordChannelId").toString()))
|
|
|
.setInstanceId(properties.get("discordInstanceId") == null ? null : Long.parseLong(properties.get("discordInstanceId").toString()));
|
|
.setInstanceId(properties.get("discordInstanceId") == null ? null : Long.parseLong(properties.get("discordInstanceId").toString()));
|
|
|
}
|
|
}
|